OMM — Orbit Mean-elements Message¶
Parses CCSDS Orbit Mean-elements Messages containing mean Keplerian elements and TLE-related parameters for SGP4/SDP4 propagation.
OMM ¶
OMM(originator: Any, object_name: Any, object_id: Any, center_name: Any, ref_frame: Any, time_system: Any, mean_element_theory: Any, epoch: Any, eccentricity: Any, inclination: Any, ra_of_asc_node: Any, arg_of_pericenter: Any, mean_anomaly: Any, mean_motion: Any = None, gm: Any = None)
Python wrapper for CCSDS Orbit Mean-elements Message (OMM).
OMM is flat (no segments), so all fields are exposed as properties with getters and setters.
Example
Initialize instance.
arg_of_pericenter property ¶
arg_of_pericenter: float
Argument of pericenter in degrees.
Returns:
| Name | Type | Description |
|---|---|---|
float | float | Argument of pericenter (degrees) |
classification_type property ¶
classification_type: str
Classification type character, or None.
Returns:
| Name | Type | Description |
|---|---|---|
str | str | Classification type, or None |
mean_motion property ¶
mean_motion: float
Mean motion in rev/day, or None if not set.
Returns:
| Name | Type | Description |
|---|---|---|
float | float | Mean motion, or None |
mean_motion_ddot property ¶
mean_motion_ddot: float
Second derivative of mean motion (rev/day^3), or None.
Returns:
| Name | Type | Description |
|---|---|---|
float | float | Mean motion double-dot, or None |
mean_motion_dot property ¶
mean_motion_dot: float
First derivative of mean motion (rev/day^2), or None.
Returns:
| Name | Type | Description |
|---|---|---|
float | float | Mean motion dot, or None |
ra_of_asc_node property ¶
ra_of_asc_node: float
Right ascension of ascending node in degrees.
Returns:
| Name | Type | Description |
|---|---|---|
float | float | RAAN (degrees) |
from_file staticmethod ¶
from_gp_record staticmethod ¶
Create an OMM from a GPRecord.
Validates that required orbital element fields are present (epoch, eccentricity, inclination, ra_of_asc_node, arg_of_pericenter, mean_anomaly) and builds an OMM with defaults for missing metadata.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
gp | GPRecord | GP record to convert. | required |
Returns:
| Name | Type | Description |
|---|---|---|
OMM | OMM | CCSDS OMM message constructed from the GP record. |
Raises:
| Type | Description |
|---|---|
BraheError | If required orbital element fields are missing. |
Example
from_str staticmethod ¶
to_dict method descriptor ¶
to_dict() -> dict
Convert the OMM to a Python dictionary.
Returns:
| Name | Type | Description |
|---|---|---|
dict | dict | Dictionary representation of the OMM |
to_file method descriptor ¶
to_gp_record method descriptor ¶
to_gp_record() -> GPRecord
Convert this OMM to a GPRecord.
Maps all OMM fields back to the GPRecord format. This conversion is infallible since all GPRecord fields are optional.
Returns:
| Name | Type | Description |
|---|---|---|
GPRecord | GPRecord | GP record with fields populated from this OMM. |
to_json_string method descriptor ¶
See Also¶
- OMM Format Guide — Structure, relationship to TLE, and accessing elements
- CCSDS Module — Module overview