tracking_data¶
This module contains the common containers used by the individual tracking-data
readers in the submodules below. Those readers load file- or service-specific
tracking data into TrackingData
objects, optionally with
TrackingSupplementaryData objects
containing auxiliary information such as station frequency ramps or camera
settings, as well as identifiers for passive radar reflectors. The tracking
data can then be converted to an
ObservationCollection with
create_observation_collection_from_tracking_data().
Supplementary data that updates bodies, ground stations, or related environment
objects is applied with
set_tracking_supplementary_data_in_bodies().
For more information on the tracking data architecture, see the user guide on real tracking data.
Modules
Tracking-data readers and containers.
This module exposes Tudat tracking-data containers together with readers and helpers for radiometric, optical (including space-based), radar (MPC and JPL), SLR, TNF/TRK-2-34, ODF, ATDF/TRK-2-25, IFMS, Fdets, PSF, SUM/LMK, and generic tracking text-file inputs.
Tracking data containers¶
These classes hold tracking data after it has been read from a source, but
before it is used in estimation. TrackingData stores the observations
themselves, while TrackingSupplementaryData stores additional data from
the same source that must be applied to the simulation environment.
Container for source-loaded tracking observations from files and external sources. |
|
Container for tracking supplementary data. |
- class TrackingData¶
Bases:
pybind11_objectContainer for source-loaded tracking observations from files and external sources. These objects are converted to observation collections by
create_observation_collection_from_tracking_data().- add_double_ancillary_setting(self: tudatpy.kernel.data_input.tracking_data.TrackingData, ancillary_settings_type: str, ancillary_settings_value: float) None¶
Add a floating-point ancillary setting.
Ancillary settings present in supported tracking-data files are loaded automatically by the readers. This function is intended only to override or extend those settings manually, which is not part of the typical data-loading workflow. See ancillary_settings for how ancillary settings are used by observation models.
- add_double_vector_ancillary_setting(self: tudatpy.kernel.data_input.tracking_data.TrackingData, ancillary_settings_type: str, ancillary_settings_value: list[float]) None¶
Add a floating-point-vector ancillary setting.
Ancillary settings present in supported tracking-data files are loaded automatically by the readers. This function is intended only to override or extend those settings manually, which is not part of the typical data-loading workflow. See ancillary_settings for how ancillary settings are used by observation models.
- add_observation_metadata(self: tudatpy.kernel.data_input.tracking_data.TrackingData, key: str, values: list[str]) None¶
Attach one string per observation. Values remain aligned when observations are removed; they are not interpreted as simulation ancillary settings.
- add_string_ancillary_setting(self: tudatpy.kernel.data_input.tracking_data.TrackingData, ancillary_settings_type: str, ancillary_settings_value: str) None¶
Add a string ancillary setting.
- add_string_vector_ancillary_setting(self: tudatpy.kernel.data_input.tracking_data.TrackingData, ancillary_settings_type: str, ancillary_settings_value: list[str]) None¶
Add a string-vector ancillary setting.
- get_ancillary_settings_double(self: tudatpy.kernel.data_input.tracking_data.TrackingData) dict[str, float]¶
Return all floating-point ancillary settings, keyed by setting identifier.
- get_ancillary_settings_double_vector(self: tudatpy.kernel.data_input.tracking_data.TrackingData) dict[str, list[float]]¶
Return all floating-point-vector ancillary settings, keyed by setting identifier.
- get_ancillary_settings_string_vector(self: tudatpy.kernel.data_input.tracking_data.TrackingData) dict[str, list[str]]¶
Return all string-vector ancillary settings, keyed by setting identifier.
- get_concatenated_observation_weights(self: tudatpy.kernel.data_input.tracking_data.TrackingData) numpy.ndarray[numpy.float64[m, 1]]¶
Return concatenated observation weights.
- get_observation_corrections(self: tudatpy.kernel.data_input.tracking_data.TrackingData) list[numpy.ndarray[numpy.float64[m, 1]]]¶
Return per-observation corrections.
- Returns:
Observation correction vectors.
- Return type:
- get_observation_weights(self: tudatpy.kernel.data_input.tracking_data.TrackingData) list[numpy.ndarray[numpy.float64[m, 1]]]¶
Return per-observation weights.
- Returns:
Observation weights.
- Return type:
- remove_single_observation_entry(self: tudatpy.kernel.data_input.tracking_data.TrackingData, index: int) None¶
Remove one observation entry.
- Parameters:
index (int) – Observation index to remove.
- Return type:
None
- reset_single_observation_correction(self: tudatpy.kernel.data_input.tracking_data.TrackingData, index: int, observation_correction: numpy.ndarray[numpy.float64[m, 1]]) None¶
Reset one observation correction.
- Parameters:
index (int) – Observation index.
observation_correction (numpy.ndarray) – Replacement observation correction vector.
- Return type:
None
- reset_single_observation_weight(self: tudatpy.kernel.data_input.tracking_data.TrackingData, index: int, observation_weight: numpy.ndarray[numpy.float64[m, 1]]) None¶
Reset one observation weight.
- set_observation_corrections(self: tudatpy.kernel.data_input.tracking_data.TrackingData, observation_corrections: list[numpy.ndarray[numpy.float64[m, 1]]]) None¶
Set per-observation corrections.
- Parameters:
observation_corrections (list) – Observation correction vectors.
- Return type:
None
- set_observation_weights(self: tudatpy.kernel.data_input.tracking_data.TrackingData, observation_weights: list[numpy.ndarray[numpy.float64[m, 1]]]) None¶
Set per-observation weights.
- Parameters:
observation_weights (list) – Observation weights.
- Return type:
None
- class TrackingSupplementaryData¶
Bases:
pybind11_objectContainer for tracking supplementary data.
These objects store auxiliary information loaded from tracking data files and are applied to a system of bodies by
set_tracking_supplementary_data_in_bodies().- Parameters:
- set_frequency_supplementary_data(self: tudatpy.kernel.data_input.tracking_data.TrackingSupplementaryData, frequency_supplementary_data: list[tudatpy.kernel.data_input.tracking_data.FrequencySupplementaryData]) None¶
Set frequency supplementary data.
- Parameters:
frequency_supplementary_data (list[FrequencySupplementaryData]) – Frequency supplementary data objects.
- Return type:
None
- property frequency_supplementary_data¶
Frequency supplementary data objects.
- Type:
- property instrument_supplementary_data¶
Instrument supplementary data objects.
- Type:
- property is_passive_radar_reflector¶
Whether the named body is a passive radar reflector. Applying this supplementary data sets its turnaround ratio to one for every frequency-band pair.
- Type:
- property reference_point_supplementary_data¶
Body-fixed position of the reference point, or None if not provided.
- Type:
- property rotational_state_supplementary_data¶
Rotational-state supplementary data.
- property translational_state_supplementary_data¶
Translational-state supplementary data.
TrackingSupplementaryData constituent classes¶
The classes in this section store the individual categories of supplementary
data that may be attached to a TrackingSupplementaryData object. They
are normally created by the tracking-data readers, but can also be inspected
before the supplementary data is applied to the bodies.
Base class for frequency supplementary data. |
|
Container for one ground-station transmission-frequency ramp. |
|
Container for ramped-frequency supplementary tracking data. |
|
Container for piecewise-constant frequency supplementary data. |
|
Base class for instrument supplementary data. |
|
Container for camera instrument supplementary data. |
|
Calibration of a camera, at a given time (see |
|
Container for translational-state supplementary data. |
|
Container for rotational-state supplementary data. |
|
Container for the position of a reference point fixed to a body, such as a ground station or a surface landmark. |
- class FrequencySupplementaryData¶
Bases:
pybind11_objectBase class for frequency supplementary data.
Derived classes store station transmission-frequency information. When applied with
set_tracking_supplementary_data_in_bodies(), this data is used to set frequency histories on the associatedGroundStation, or on the associated body’s vehicle systems if no reference point is specified. Ground-station creation is described in ground_station and byGroundStationSettings; vehicle-system setup is described in vehicle_systems.
- class FrequencyRamp¶
Bases:
pybind11_objectContainer for one ground-station transmission-frequency ramp.
Frequency ramps are stored in
RampedFrequencySupplementaryDataand are applied to the associatedGroundStation, or to the associated body’s vehicle systems if no reference point is specified. See ground_station and vehicle_systems for the corresponding environment models.- property end_time¶
Ramp end time, preserving extended epoch precision. Float inputs are accepted.
- property start_time¶
Ramp start time, preserving extended epoch precision. Float inputs are accepted.
- class RampedFrequencySupplementaryData¶
Bases:
FrequencySupplementaryDataContainer for ramped-frequency supplementary tracking data.
This class stores piecewise-linear transmission-frequency ramps. When applied with
set_tracking_supplementary_data_in_bodies(), the ramps are set on the associatedGroundStation, or on the associated body’s vehicle systems if no reference point is specified. See ground_station, vehicle_systems, andGroundStationSettingsfor the environment model to which this data is attached.- add_frequency_ramp(self: tudatpy.kernel.data_input.tracking_data.RampedFrequencySupplementaryData, start_time: tudatpy.kernel.astro.time_representation.Time, end_time: tudatpy.kernel.astro.time_representation.Time, start_frequency: float, frequency_rate: float) None¶
Add one frequency ramp.
- Parameters:
start_time (tudatpy.astro.time_representation.Time | float) – Ramp start time.
end_time (tudatpy.astro.time_representation.Time | float) – Ramp end time.
start_frequency (float) – Ramp start frequency.
frequency_rate (float) – Ramp frequency rate.
- Return type:
None
- property frequency_ramps¶
read-only
Independent copies of the frequency-ramp records. Appending ramps to the container does not invalidate previously retrieved records, and editing a retrieved record does not change the container.
- Type:
- class PiecewiseConstantFrequencySupplementaryData¶
Bases:
FrequencySupplementaryDataContainer for piecewise-constant frequency supplementary data.
This class stores a transmission-frequency history that is constant between tabulated epochs. When applied with
set_tracking_supplementary_data_in_bodies(), the history is set on the associatedGroundStation, or on the associated body’s vehicle systems if no reference point is specified. Each entry takes effect at its epoch and is installed as a ramp with zero rate. The existing ramp calculator holds the first and last frequencies outside the tabulated epochs. Later entries replace earlier entries at the same epoch when histories or existing ramp tables are merged. See ground_station, vehicle_systems, andGroundStationSettingsfor the environment model to which this data is attached.- set_frequency(self: tudatpy.kernel.data_input.tracking_data.PiecewiseConstantFrequencySupplementaryData, time: float, frequency: float) None¶
Set one piecewise-constant frequency entry.
- class InstrumentSupplementaryData¶
Bases:
pybind11_objectBase class for instrument supplementary data.
Derived classes store instrument information that is converted to environment-system models when applied to the bodies. For camera data, this creates camera settings for the associated body; see
CameraSettingsandpinhole_camera().
- class CameraInstrumentSupplementaryData¶
Bases:
InstrumentSupplementaryDataContainer for camera instrument supplementary data.
This class stores camera calibration, mounting and optional orientation history. When applied with
set_tracking_supplementary_data_in_bodies(), it is converted to camera data for the associated body. SeeCameraSettingsandpinhole_camera()for the corresponding environment setup interface.- get_calibration(self: tudatpy.kernel.data_input.tracking_data.CameraInstrumentSupplementaryData, time: float = nan) tudatpy.kernel.data_input.tracking_data.CameraCalibration¶
Function to get the calibration of the camera at a given time.
Returns the constant calibration of the camera, or, for a camera whose calibration changes between pictures (such as one created from SUM files), that of the picture closest in time.
- Parameters:
time (float, default=nan) – Time, in UTC seconds since J2000 (the time scale of
rotation_from_inertial_to_camera_frame_history). Only required when the calibration changes between pictures.- Returns:
Calibration of the camera at the given time.
- Return type:
- property body_fixed_position¶
Position of the camera in the body-fixed frame of the body that carries it [m]. It is used when the camera is created from this supplementary data. Defaults to zero.
- Type:
numpy.ndarray[numpy.float64[3, 1]]
- property distortion_coefficients¶
read-only
Camera distortion coefficients.
- Type:
- property mounting_offsets¶
read-only
Camera mounting offsets.
- Type:
- property pointing_reference_body_name¶
Body whose body-fixed frame the camera rotation history starts from. An empty string means the inertial frame.
- Type:
- property pointing_uncertainty_history¶
A-priori uncertainty of the camera pointing about the three camera axes [rad], indexed by the picture times of the rotation history (in UTC seconds since J2000). Empty when the source gives no value.
- Type:
dict[float, numpy.ndarray[numpy.float64[3, 1]]]
- property rotation_from_inertial_to_camera_frame_history¶
read-only
Camera-frame rotation history indexed by picture time, in UTC seconds since J2000 (as in the source files; the cameras created from this data use TDB instead). The rotations start from the inertial frame, or from the body-fixed frame of
pointing_reference_body_namewhen that is set.
- class CameraCalibration¶
Bases:
pybind11_objectCalibration of a camera, at a given time (see
CameraInstrumentSupplementaryData.get_calibration()).- property field_of_view_bounds¶
read-only
Field-of-view bounds.
- property focal_length¶
read-only
Camera focal length.
- property k_matrix¶
read-only
Camera K matrix.
- property principal_point¶
read-only
Camera principal point.
- class TranslationalStateSupplementaryData¶
Bases:
pybind11_objectContainer for translational-state supplementary data.
This class stores a tabulated Cartesian state history. When applied with
set_tracking_supplementary_data_in_bodies(), the data is converted to a tabulated ephemeris for the associated body. Translational-state supplementary data is not applied to a reference point. SeeTabulatedEphemerisSettingsandtabulated()for the corresponding environment setup interface.- property is_velocity_defined¶
read-only
Boolean that defines whether velocity entries are defined, if not they are computed through finite differences when this object is processed to update the environment.
- Type:
- property state_history¶
read-only
Translational state history indexed by time.
- Type:
- class RotationalStateSupplementaryData¶
Bases:
pybind11_objectContainer for rotational-state supplementary data.
This class stores a tabulated rotational state history. When applied with
set_tracking_supplementary_data_in_bodies(), the data is converted to a rotational ephemeris for the associated body. Rotational-state supplementary data is not applied to a reference point. SeeRotationModelSettingsandcustom_rotation_model()for the corresponding environment setup interface.- property is_angular_velocity_defined¶
read-only
Whether angular-velocity entries are defined (if not, they are currently also not computed when processing this object to update the environment).
- Type:
- property rotational_state_history¶
read-only
Rotational state history indexed by time (as quaternion and body-fixed angular velocity).
- Type:
- class ReferencePointSupplementaryData¶
Bases:
pybind11_objectContainer for the position of a reference point fixed to a body, such as a ground station or a surface landmark.
When applied with
set_tracking_supplementary_data_in_bodies(), a ground station with this position is created on the associated body, named after the reference point. If the ground station already exists, its position must match.- property body_fixed_position¶
read-only
Cartesian position of the reference point in the body-fixed frame [m].
- Type:
numpy.ndarray[numpy.float64[3, 1]]