exa.core.observation_set_utils.get_observation_set#
- get_observation_set(set_id, observation_set_type=None)#
Get the contents of an observation set.
- Parameters:
set_id (UUID) – ID of a calibration set.
observation_set_type (ObservationSetType | None) – Optional parameter denoting the type of the observation set. If set, an exception is
observation_set_type. (raised in case the loaded observation set is not of the provided)
- Returns:
Mapping from observation dut_field names to the observations themselves, and the type of the set.
- Raises:
ValueError – If observation_set_type is set and does not conform to the set defined by set_id.
- Return type:
tuple[dict[str, ObservationData], str]