observations_processing¶
Functions¶
|
Overloaded function. |
|
Overloaded function. |
|
Overloaded function. |
- observation_filter(*args, **kwargs)¶
Overloaded function.
Overload 1:
observation_filter(filter_type: tudatpy.kernel.estimation.observations.observations_processing.ObservationFilterType, filter_value: float, filter_out: bool = True, use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationFilterBaseCreate an observation filter with a single double value.
- Parameters:
filter_type (tudatpy.estimation.observations.ObservationFilterType) – Type of observation filter.
filter_value (float) – Value to be used by the filter.
filter_out (bool, optional) – Whether to filter out observations that satisfy the condition (True) or keep them (False). When set to False, this re-introduces observations that were previously filtered out. Default is True.
use_opposite_condition (bool, optional) – Whether to use the opposite of the filter condition. Default is False.
- Returns:
An observation filter object.
- Return type:
tudatpy.estimation.observations.observations_processing.ObservationFilterBase
Overload 2:
observation_filter(filter_type: tudatpy.kernel.estimation.observations.observations_processing.ObservationFilterType, filter_value: list[float], filter_out: bool = True, use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationFilterBaseCreate an observation filter with a list of double values.
- Parameters:
filter_type (tudatpy.estimation.observations.ObservationFilterType) – Type of observation filter.
filter_value (list[float]) – List of values to be used by the filter.
filter_out (bool, optional) – Whether to filter out observations that satisfy the condition (True) or keep them (False). When set to False, this re-introduces observations that were previously filtered out. Default is True.
use_opposite_condition (bool, optional) – Whether to use the opposite of the filter condition. Default is False.
- Returns:
An observation filter object.
- Return type:
tudatpy.estimation.observations.observations_processing.ObservationFilterBase
Overload 3:
observation_filter(filter_type: tudatpy.kernel.estimation.observations.observations_processing.ObservationFilterType, first_filter_value: float, second_filter_value: float, filter_out: bool = True, use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationFilterBaseCreate an observation filter with two double values (e.g., for a time range).
- Parameters:
filter_type (tudatpy.estimation.observations.ObservationFilterType) – Type of observation filter.
first_filter_value (float) – First value to be used by the filter (e.g., start time).
second_filter_value (float) – Second value to be used by the filter (e.g., end time).
filter_out (bool, optional) – Whether to filter out observations that satisfy the condition (True) or keep them (False). When set to False, this re-introduces observations that were previously filtered out. Default is True.
use_opposite_condition (bool, optional) – Whether to use the opposite of the filter condition. Default is False.
- Returns:
An observation filter object.
- Return type:
tudatpy.estimation.observations.observations_processing.ObservationFilterBase
Overload 4:
observation_filter(filter_type: tudatpy.kernel.estimation.observations.observations_processing.ObservationFilterType, filter_value: numpy.ndarray[numpy.float64[m, 1]], filter_out: bool = True, use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationFilterBaseCreate an observation filter with a numpy array.
- Parameters:
filter_type (tudatpy.estimation.observations.ObservationFilterType) – Type of observation filter.
filter_value (numpy.ndarray) – Numpy array to be used by the filter.
filter_out (bool, optional) – Whether to filter out observations that satisfy the condition (True) or keep them (False). When set to False, this re-introduces observations that were previously filtered out. Default is True.
use_opposite_condition (bool, optional) – Whether to use the opposite of the filter condition. Default is False.
- Returns:
An observation filter object.
- Return type:
tudatpy.estimation.observations.observations_processing.ObservationFilterBase
Overload 5:
observation_filter(dependent_variable_settings: tudatpy.kernel.estimation.observations_setup.observations_dependent_variables.ObservationDependentVariableSettings, filter_value: numpy.ndarray[numpy.float64[m, 1]], filter_out: bool = True, use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationFilterBaseCreate a dependent variable observation filter.
- Parameters:
dependent_variable_settings (
ObservationDependentVariableSettings) – Settings for the dependent variable to be used for filtering.filter_value (numpy.ndarray) – Numpy array to be used by the filter.
filter_out (bool, optional) – Whether to filter out observations that satisfy the condition (True) or keep them (False). When set to False, this re-introduces observations that were previously filtered out. Default is True.
use_opposite_condition (bool, optional) – Whether to use the opposite of the filter condition. Default is False.
- Returns:
An observation filter object.
- Return type:
tudatpy.estimation.observations.observations_processing.ObservationFilterBase
- observation_set_splitter(*args, **kwargs)¶
Overloaded function.
Overload 1:
observation_set_splitter(splitter_type: tudatpy.kernel.estimation.observations.observations_processing.ObservationSetSplitterType, splitter_value: list[float], min_number_observations: int = 0) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationSetSplitterBaseCreate an observation set splitter with a list of double values.
- Parameters:
- Returns:
An observation set splitter object.
- Return type:
tudatpy.estimation.observations.observations_processing.ObservationSetSplitterBase
Overload 2:
observation_set_splitter(splitter_type: tudatpy.kernel.estimation.observations.observations_processing.ObservationSetSplitterType, splitter_value: float, min_number_observations: int = 0) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationSetSplitterBaseCreate an observation set splitter with a single double value.
- Parameters:
- Returns:
An observation set splitter object.
- Return type:
tudatpy.estimation.observations.observations_processing.ObservationSetSplitterBase
Overload 3:
observation_set_splitter(splitter_type: tudatpy.kernel.estimation.observations.observations_processing.ObservationSetSplitterType, splitter_value: int, min_number_observations: int = 0) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationSetSplitterBaseCreate an observation set splitter with a single integer value.
- Parameters:
- Returns:
An observation set splitter object.
- Return type:
tudatpy.estimation.observations.observations_processing.ObservationSetSplitterBase
- observation_parser(*args, **kwargs)¶
Overloaded function.
Overload 1:
observation_parser() -> tudatpy.kernel.estimation.observations.observations_processing.ObservationCollectionParserCreate an empty observation parser.
- Returns:
An empty observation parser object.
- Return type:
tudatpy.estimation.observations.ObservationCollectionParser
Overload 2:
observation_parser(observable_type: tudatpy.kernel.estimation.observable_models_setup.model_settings.ObservableType, use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationCollectionParserCreate an observation parser based on observable type.
- Parameters:
observable_type (
ObservableType) – Observable type to parse.use_opposite_condition (bool, optional) – Whether to use the opposite of the default condition. Default is False.
- Returns:
An observation parser object.
- Return type:
tudatpy.estimation.observations.ObservationCollectionParser
Overload 3:
observation_parser(observable_type_vector: list[tudatpy.kernel.estimation.observable_models_setup.model_settings.ObservableType], use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationCollectionParserCreate an observation parser based on a list of observable types.
- Parameters:
observable_type_vector (list[
ObservableType]) – List of observable types to parse.use_opposite_condition (bool, optional) – Whether to use the opposite of the default condition. Default is False.
- Returns:
An observation parser object.
- Return type:
tudatpy.estimation.observations.ObservationCollectionParser
Overload 4:
observation_parser(link_ends: dict[tudatpy.kernel.estimation.observable_models_setup.links.LinkEndType, tudatpy.kernel.estimation.observable_models_setup.links.LinkEndId], use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationCollectionParserCreate an observation parser based on link ends.
- Parameters:
link_ends (dict[
LinkEndType,LinkEndId]) – Link ends to parse.use_opposite_condition (bool, optional) – Whether to use the opposite of the default condition. Default is False.
- Returns:
An observation parser object.
- Return type:
tudatpy.estimation.observations.ObservationCollectionParser
Overload 5:
observation_parser(link_ends_vector: list[dict[tudatpy.kernel.estimation.observable_models_setup.links.LinkEndType, tudatpy.kernel.estimation.observable_models_setup.links.LinkEndId]], use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationCollectionParserCreate an observation parser based on a list of link ends.
- Parameters:
link_ends_vector (list[dict[
LinkEndType,LinkEndId]]) – List of link ends to parse.use_opposite_condition (bool, optional) – Whether to use the opposite of the default condition. Default is False.
- Returns:
An observation parser object.
- Return type:
tudatpy.estimation.observations.ObservationCollectionParser
Overload 6:
observation_parser(link_ends_str: str, is_reference_point: bool = False, use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationCollectionParserCreate an observation parser based on a link end string (body name).
- Parameters:
- Returns:
An observation parser object.
- Return type:
tudatpy.estimation.observations.ObservationCollectionParser
Overload 7:
observation_parser(link_ends_str_vector: list[str], is_reference_point: bool = False, use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationCollectionParserCreate an observation parser based on a list of link end strings (body names).
- Parameters:
- Returns:
An observation parser object.
- Return type:
tudatpy.estimation.observations.ObservationCollectionParser
Overload 8:
observation_parser(link_end_id: tuple[str, str], use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationCollectionParserCreate an observation parser based on a link end ID.
- Parameters:
- Returns:
An observation parser object.
- Return type:
tudatpy.estimation.observations.ObservationCollectionParser
Overload 9:
observation_parser(link_end_ids_vector: list[tuple[str, str]], use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationCollectionParserCreate an observation parser based on a list of link end IDs.
- Parameters:
- Returns:
An observation parser object.
- Return type:
tudatpy.estimation.observations.ObservationCollectionParser
Overload 10:
observation_parser(link_end_type: tudatpy.kernel.estimation.observable_models_setup.links.LinkEndType, use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationCollectionParserCreate an observation parser based on a link end type.
- Parameters:
link_end_type (
LinkEndType) – Link end type to parse.use_opposite_condition (bool, optional) – Whether to use the opposite of the default condition. Default is False.
- Returns:
An observation parser object.
- Return type:
tudatpy.estimation.observations.ObservationCollectionParser
Overload 11:
observation_parser(link_end_types_vector: list[tudatpy.kernel.estimation.observable_models_setup.links.LinkEndType], use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationCollectionParserCreate an observation parser based on a list of link end types.
- Parameters:
link_end_types_vector (list[
LinkEndType]) – List of link end types to parse.use_opposite_condition (bool, optional) – Whether to use the opposite of the default condition. Default is False.
- Returns:
An observation parser object.
- Return type:
tudatpy.estimation.observations.ObservationCollectionParser
Overload 12:
observation_parser(single_link_end: tuple[tudatpy.kernel.estimation.observable_models_setup.links.LinkEndType, tudatpy.kernel.estimation.observable_models_setup.links.LinkEndId], use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationCollectionParserCreate an observation parser based on a single link end (type and ID).
- Parameters:
single_link_end (tuple[
LinkEndType,LinkEndId]) – A single link end, specified by its type and ID.use_opposite_condition (bool, optional) – Whether to use the opposite of the default condition. Default is False.
- Returns:
An observation parser object.
- Return type:
tudatpy.estimation.observations.ObservationCollectionParser
Overload 13:
observation_parser(single_link_ends_vector: list[tuple[tudatpy.kernel.estimation.observable_models_setup.links.LinkEndType, tudatpy.kernel.estimation.observable_models_setup.links.LinkEndId]], use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationCollectionParserCreate an observation parser based on a list of single link ends (type and ID).
- Parameters:
single_link_ends_vector (list[tuple[
LinkEndType,LinkEndId]]) – A list of single link ends, each specified by its type and ID.use_opposite_condition (bool, optional) – Whether to use the opposite of the default condition. Default is False.
- Returns:
An observation parser object.
- Return type:
tudatpy.estimation.observations.ObservationCollectionParser
Overload 14:
observation_parser(time_bounds: tuple[float, float], use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationCollectionParserCreate an observation parser based on time bounds.
- Parameters:
- Returns:
An observation parser object.
- Return type:
tudatpy.estimation.observations.ObservationCollectionParser
Overload 15:
observation_parser(time_bounds_vector: list[tuple[float, float]], use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationCollectionParserCreate an observation parser based on a list of time bounds.
- Parameters:
- Returns:
An observation parser object.
- Return type:
tudatpy.estimation.observations.ObservationCollectionParser
Overload 16:
observation_parser(ancillary_settings: tudatpy.kernel.estimation.observations_setup.ancillary_settings.ObservationAncillarySimulationSettings, use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationCollectionParserCreate an observation parser based on ancillary settings.
- Parameters:
ancillary_settings (
ObservationAncillarySimulationSettings) – Ancillary settings for parsing.use_opposite_condition (bool, optional) – Whether to use the opposite of the default condition. Default is False.
- Returns:
An observation parser object.
- Return type:
tudatpy.estimation.observations.ObservationCollectionParser
Overload 17:
observation_parser(ancillary_settings_vector: list[tudatpy.kernel.estimation.observations_setup.ancillary_settings.ObservationAncillarySimulationSettings], use_opposite_condition: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationCollectionParserCreate an observation parser based on a list of ancillary settings.
- Parameters:
ancillary_settings_vector (list[
ObservationAncillarySimulationSettings]) – List of ancillary settings for parsing.use_opposite_condition (bool, optional) – Whether to use the opposite of the default condition. Default is False.
- Returns:
An observation parser object.
- Return type:
tudatpy.estimation.observations.ObservationCollectionParser
Overload 18:
observation_parser(observation_parsers: list[tudatpy.kernel.estimation.observations.observations_processing.ObservationCollectionParser], combine_conditions: bool = False) -> tudatpy.kernel.estimation.observations.observations_processing.ObservationCollectionParserCreate a multi-type observation parser from a list of other parsers.
- Parameters:
- Returns:
A multi-type observation parser object.
- Return type:
tudatpy.estimation.observations.ObservationCollectionParser
Enumerations¶
Enum for types of observation filters. |
|
Enum for types of observation set splitters. |
|
Enum for types of observation parsers. |
- class ObservationFilterType¶
Bases:
pybind11_objectEnum for types of observation filters.
This enum defines the available types of observation filters that can be used to reject observations from a collection.
Members:
residual_filtering : Filter observations using residual.
absolute_value_filtering : Filter observations using absolute value.
epochs_filtering : Filter observations using epochs.
time_bounds_filtering : Filter observations using time bounds.
dependent_variable_filtering : Filter observations using dependent variable.
- ObservationFilterType.name -> str
read-only
- class ObservationSetSplitterType¶
Bases:
pybind11_objectEnum for types of observation set splitters.
This enum defines the available types of observation set splitters that can be used to divide a collection of observations into multiple sets.
Members:
time_tags_splitter : Split observation sets using time tags.
time_interval_splitter : Split observation sets using time interval.
time_span_splitter : Split observation sets using time span.
nb_observations_splitter : Split observation sets using the number of observations.
- ObservationSetSplitterType.name -> str
read-only
- class ObservationParserType¶
Bases:
pybind11_objectEnum for types of observation parsers.
This enum defines the available types of observation parsers that can be used to select observations from a collection based on various criteria.
Members:
empty_parser : Select all observation sets without imposing a selection criterion.
observable_type_parser : Select observation sets by observable.
link_ends_parser : Select observation sets by link ends.
link_end_str_parser : Select observation sets by link end string.
link_end_id_parser : Select observation sets by link end identifier.
link_end_type_parser : Select observation sets by link end.
single_link_end_parser : Select observation sets by single link end.
time_bounds_parser : Select observation sets by time bounds.
ancillary_settings_parser : Select observation sets by ancillary settings.
multi_type_parser : Select observation sets by multi.
- ObservationParserType.name -> str
read-only
Classes¶
Base class for observation collection parsers. |
- class ObservationCollectionParser¶
Bases:
pybind11_objectBase class for observation collection parsers.
This is the base class from which all observation collection parsers are derived. It is not intended to be instantiated directly.