API#
$partial$SGP4 API
|
This function takes a tensor of states, and plots the orbit, together with the Earth. |
|
This function takes a list of tles as input and plots the histograms of some of their elements. |
|
This function takes a TLE line in the form of a string and computes the checksum. |
This function takes a string corresponding to part of a TLE line, and returns the corresponding satellite catalog number. |
|
This function takes a satellite catalog number and returns the corresponding 5-character field to be written in a TLE line. |
|
|
This function takes a dictionary of elements (in which at least the mean motion is already stored), and adds the quantities that are derived from the epoch (i.e. the Julian dates used by SGP4), together with the semi-major axis and the operation mode. |
|
This function returns a copy of a dictionary of elements, cloning the tensors it contains (so that the copy does not share memory, nor the autograd graph, with the original one). |
|
This function takes a TLE as a list of strings and returns both itself and its dictionary representation. |
|
This function takes a TLE as a dictionary and returns both itself and its representation as a list of strings. |
|
This function takes a file name that contains TLE (either with names or without), and returns a list of TLE objects. |
|
This class constructs a TLE object from either a list of strings (that make up the TLE) or from a dictionary. |
This function returns a copy of the TLE object. |
|
This function returns the OMM (i.e. CCSDS Orbit Mean-Elements Message) representation of the TLE object. |
|
|
This function returns the perigee altitude of a given TLE. |
|
This function returns the apogee altitude of a given TLE. |
|
This function sets the epoch of the TLE to the given date. |
|
This function updates the TLE object with the given data. |
This function takes the epoch of an OMM (i.e. a CCSDS ASCII time code, for instance '2024-02-29T12:00:00.000000' or, in its day of the year form, '2024-060T12:00:00.000000') and returns the corresponding datetime object. |
|
|
This function takes a datetime object and returns the corresponding OMM epoch. |
This function takes the object identifier of an OMM (e.g. '1998-067A') and returns the corresponding international designator, in the form used by the TLE format (e.g. '98067A'). |
|
This function takes an international designator, in the form used by the TLE format (e.g. '98067A'), and returns the corresponding OMM object identifier (e.g. '1998-067A'). |
|
|
This function parses OMM data in JSON format (i.e. either a single message or a list of messages, as returned by the Space-Track API), and returns the corresponding list of dictionaries of OMM fields. |
|
This function parses OMM data in XML format, and returns the corresponding list of dictionaries of OMM fields. |
|
This function parses OMM data in KVN (i.e. keyword-value notation) format, and returns the corresponding list of dictionaries of OMM fields. |
|
This function parses OMM data in CSV format (i.e. one header line with the OMM keywords, followed by one line per object), and returns the corresponding list of dictionaries of OMM fields. |
|
This function parses OMM data and returns the corresponding list of dictionaries of OMM fields. |
|
This function takes an OMM object (or a TLE object, or a list of them, or the corresponding dictionaries of OMM fields), and returns the corresponding text in the requested format. |
|
This function takes OMM data and returns the format it is written in. |
|
This function takes the dictionary of elements used by dsgp4.tle.TLE and dsgp4.omm.OMM, and returns the corresponding dictionary of OMM fields. |
|
This function takes an OMM as a dictionary of OMM fields, and returns both itself and its representation as a dictionary of elements (i.e. the same dictionary used by dsgp4.tle.TLE). |
|
This function takes a set of elements as a dictionary (i.e. the same dictionary used by dsgp4.tle.TLE), and returns both its representation as a dictionary of OMM fields and the dictionary itself. |
|
This function takes a file name that contains OMM data (in JSON, XML, KVN or CSV format), and returns a list of OMM objects. |
|
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). |
This function returns the TLE representation of the OMM object. |
|
|
|
|
This function takes a list of TLEs and a tensor of times (which must be of same length), and returns the corresponding states. |
|
This function takes a tensor of inputs and a TLE, and returns the corresponding state. |
|
This function takes a single dsgp4.tle.TLE object or a list of dsgp4.tle.TLE objects and initializes the SGP4 propagator. |
Converts a year and day of the year to a date. |
|
|
This function computes the Greenwich Sidereal Time (GST) at the given Julian Date (UT1). |
This function takes a tensor and returns a copy of it with gradients. |
|
|
Converts a date and time to a Julian Date. |
|
Converts a Julian Date to a date and time. |
|
Converts a number of days to months, days, hours, minutes, and seconds. |
|
Converts a string to a datetime object. |
|
Converts a Modified Julian Date to the number of days after 1 Jan 2000. |
|
Converts a Modified Julian Date to a datetime object. |
|
Converts a Julian Date to a datetime object. |
|
This function returns the non-empty lines of a list of lines. |
Converts a datetime object to a fractional day. |
|
|
Converts a datetime object to a Modified Julian Date. |
|
Converts a datetime object to a Julian Date. |
|
This function converts the provided state from Cartesian to Keplerian elements. |
|
This function represents the SGP4 propagator. |
|
This function represents the batch SGP4 propagator. |
|
This function initializes the sgp4 propagator. |
|
This function initializes the sgp4 propagator. |
|
|
|
|
|
This function implements the Newton-Raphson method to find the TLE elements that match a given target state. |
|
This function initializes the sgp4 propagator. |
|
This function initializes the sgp4 propagator. |
dsgp4 ML-dSGP4 Module