gnatss.utilities.time module

gnatss.utilities.time module#

time.py

Time utilities module utilizing astropy

gnatss.utilities.time.AstroTime#

alias of Time

gnatss.utilities.time.gps_ws_time_to_astrotime(weeks: ~nptyping.ndarray.NDArray[~nptyping.base_meta_classes.Shape[*], ~numpy.integer], seconds: ~nptyping.ndarray.NDArray[~nptyping.base_meta_classes.Shape[*], ~numpy.float64]) Time#

Converts GPS weeks and seconds to AstroTime representation Parameters ———- weeks : NDArray[(Any,), Int]

The GPS reference week number

secondsNDArray[(Any,), Float]

Seconds from midnight terrestrial time (TT) of GPS reference week day; accurate to the millisecond level

Returns#

AstroTime

AstroTime representation of GPS time