dsgp4.util#
Functions
|
This function takes a tensor and returns a copy of it with gradients. |
|
Converts a number of days to months, days, hours, minutes, and seconds. |
|
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 converts the provided state from Cartesian to TLE elements. |
|
Converts a datetime object to a fractional day. |
|
Converts a datetime object to a Julian Date. |
|
Converts a datetime object to a Modified Julian Date. |
|
Converts a Julian Date to a datetime object. |
|
Converts a Modified Julian Date to a datetime object. |
|
Converts a Modified Julian Date to the number of days after 1 Jan 2000. |
|
Converts a string to a datetime object. |
|
Converts a year and day of the year to a date. |
|
|
|
This function returns the non-empty lines of a list of lines. |
|
This function computes the Greenwich Sidereal Time (GST) at the given Julian Date (UT1). |
|
This function takes a single dsgp4.tle.TLE object or a list of dsgp4.tle.TLE objects and initializes the SGP4 propagator. |
|
Converts a Julian Date to a date and time. |
|
Converts a date and time to a Julian Date. |
|
This function takes a tensor of inputs and a TLE, and returns the corresponding state. |
|
This function takes a list of TLEs and a tensor of times (which must be of same length), and returns the corresponding states. |