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 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 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 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 TLE elements. |
|
|
This function takes the state in cartesian coordinates and the gravitational parameter of the central body, and returns the state in Keplerian elements. |
Same as from_cartesian_to_keplerian, but for torch tensors. |
|
|
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. |
|
|