Measurement Vector Composition

Abstract Classes

class MeasurementVector(meas_vec_elements: List[MeasurementVectorElement], covariance=False, drop_zero_error=True)[source]

A full measurement vector made up of a collection of measurement vector elements.

meas_dict(l1_data) Dict[str, ndarray][source]

Transform the level 1 data into the measurement vector space and return the measurement vector, error and weighting functions.

Parameters:

l1_data – level 1 data that the transforms will be applied to.

class MeasurementVectorElement(name=None)[source]

Applies a set of transforms to a level 1 measurement.

add_transform(transform: Transformer, index: int | str = 'post')[source]

Add a transform to the measurment vector element.

Parameters:
  • transform (Transformer) – transformation to apply to the measurements.

  • index – Order in which the transform will be applied. If post (default) the transform will be appended to the current list. If pre transform be prepended. If an integer the transform will be placed at position index in the current list of transforms.

meas_dict(l1_data: List[RadianceBase] | RadianceBase, covariance: bool = False) Dict[str, ndarray][source]

Transform the level 1 data into measurement vector space and return the measurement vector, error and weighting functions.

Parameters:
  • l1_data – level 1 data that the transforms will be applied to.

  • covariance – Whether to compute the full covariance matrix or only the diagonal. Default False

transform(l1_data, covariance=False)[source]

Transform the level 1 data into measurerment vector space.