skretrieval.retrieval.measvec.MeasurementVector#
- class skretrieval.retrieval.measvec.MeasurementVector(fn: Callable, apply_to_filter='*', sample_fn=None)[source]#
Bases:
objectA class that represents a measurement vector. This is a callable object that can be used to transform L1 data to a measurement vector.
- Parameters:
fn (Callable) – Function which takes in L1 data and returns a Measurement object
apply_to_filter (str, optional) – Only L1 data matching the apply_to_filter will be affected by this measurement vector, by default “*”
- __init__(fn: Callable, apply_to_filter='*', sample_fn=None)[source]#
A class that represents a measurement vector. This is a callable object that can be used to transform L1 data to a measurement vector.
- Parameters:
fn (Callable) – Function which takes in L1 data and returns a Measurement object
apply_to_filter (str, optional) – Only L1 data matching the apply_to_filter will be affected by this measurement vector, by default “*”
Methods
__init__(fn[, apply_to_filter, sample_fn])A class that represents a measurement vector.
apply(l1_data[, ctxt])Applies the function to the l1 data, returning back a Measurement object
required_sample_wavelengths(obs_samples)Determines which sample wavelengths are required for this measurement vector
Attributes
enabledfilterfn