dsgp4.omm.OMM#
- class dsgp4.omm.OMM(data)#
This class constructs an OMM (i.e. Orbit Mean-Elements Message) object from a string containing a single message (in JSON, XML, KVN or CSV format), from a dictionary of OMM fields, or from a dictionary of elements (i.e. the same dictionary accepted by dsgp4.tle.TLE).
Since an OMM carries the same SGP4 mean elements of a TLE, the resulting object can be used everywhere a dsgp4.tle.TLE object is expected. Contrarily to a TLE, though, it is not constrained by the two fixed-width lines: objects whose catalog number is above 339999 (i.e. beyond what the Alpha-5 convention can encode) can only be represented as OMMs.
Parameters:#
data (str, dict): OMM data
Returns:#
dsgp4.omm.OMM object
- __init__(data)#
Methods
__init__(data)apogee_alt([R_eq])This function returns the apogee altitude of a given TLE.
copy()This function returns a copy of the TLE object.
perigee_alt([R_eq])This function returns the perigee altitude of a given TLE.
set_time(date_mjd)This function sets the epoch of the TLE to the given date.
to_omm()This function returns the OMM (i.e. CCSDS Orbit Mean-Elements Message) representation of the TLE object.
to_tle()This function returns the TLE representation of the OMM object.
update(tle_data)This function updates the TLE object with the given data.