cavcalc.output.MultiOutput.as_singles#

MultiOutput.as_singles(*args) dict[cavcalc.parameters.enums.ParameterType, cavcalc.output.SingleOutput]#

A dictionary of SingleOutput instances, for given ParameterType objects, constructed from this multi-output.

To retrieve single output objects for all target parameters in this multi-output, simply give no args when calling this method.

Parameters:
argstuple[str | ParameterType]

Parameter names or types as positional arguments. These will form the keys of the returned dictionary. If none are given then all target parameter types are used.

Returns:
singlesdict[str | ParameterType, SingleOutput]

The single outputs constructed for each desired parameter.