dsgp4.tle.add_derived_quantities

dsgp4.tle.add_derived_quantities#

dsgp4.tle.add_derived_quantities(data, year, epochdays, opsmode)#

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. The dictionary is modified in place.

Parameters:#

data (dict): dictionary of elements year (int): epoch year epochdays (float): epoch day of the year (with its fraction) opsmode (str): operation mode, either ‘i’ or ‘a’

Returns:#

dict: dictionary of elements