libgs_ops.propagator.TLEDb¶
-
class
libgs_ops.propagator.
TLEDb
(fname=None, tles=None)[source]¶ Database of TLEs.
The Database can be loaded from a file, or input directly.
This class can serve as a drop-in replacement for
SpaceTrackAPI
when creating aPropagator
as it implements theget_tles
method.Note
Only one of the arguments (fname or tles) must be specified, and not both.
Parameters: Methods
get_tles
(nids)Query database for a series of norad IDs, and return the NIDs and TLEs in a dict. save_tles
(fname[, fformat])Save the database to file. Inherited from base class