kessler.util#
Functions
|
Adds a number of days to a date string. |
|
This function takes a list of TLEs and a megaconstellation file name, and returns a list of the original TLEs plus the TLEs of the added megaconstellation. |
|
This function creates a list of TLEs for a given specified megaconstellation. |
|
This function takes a list of TLEs and a dictionary of mixture_components numbers, and returns a dictionary of prior distributions for the TLE elements, by fitting probability density functions to data using the specified number of mixture components for each element. |
|
Based on source code @ nasa/CARA_Analysis_Tools (adapted by Andrew Ng, 18/03/2022) Use the datetime python package. |
|
Finds the closest value in a list of values to a given value. |
|
Fit a Gaussian Mixture Model to the given data. |
|
|
|
This function converts the provided state from Cartesian to Keplerian elements. |
|
Converts a cartesian state to the RTN frame. |
|
Converts a date string to the number of days since a reference date. |
|
Converts a datetime object to a string in the format 'yyyy-mm-ddTHH:MM:SS.FFF'. |
|
Converts a Julian Date to a string in the format 'yyyy-mm-ddTHH:MM:SS.FFF'. |
|
Converts a Julian Date to a Modified Julian Date. |
|
Converts a Modified Julian Date to a Julian Date. |
|
Converts a RTN state to the cartesian frame. |
|
Converts a string to a datetime object. |
|
Original MATLAB source code (adapted by Andrew Ng, 18/3/2022): NASA CARA Analysis Tools |
|
Checks if a value is NaN or Inf. |
|
Checks if a string is in a valid date format. |
|
|
|
Computes the partial derivatives of the cartesian state with respect to the keplerian elements. |
|
|
|
|
|
|
|
|
|
Propagates a TLE object to a set of times, and upsamples the result. |
|
Computes the UVW rotation matrix. |
|
|
|
|
|
This function takes a list of TLEs as input and extracts their elements as lists. |
|
Converts a trace object to an Event object. |
|
Transforms a date string from one format to another. |
|
Upsamples a tensor to a given resolution, via linear interpolation. |
Classes
|
Wraps |
|
Wraps |
|
Base class for PyTorch-compatible distributions with Pyro support. |
|
Truncated Normal distribution with specified lower and upper bounds. |
|
Wraps |