ssapy_toolkit.Time_Functions.convert_to_gps

Functions

to_gps(t)

Convert astropy Time objects to GPS seconds.

ssapy_toolkit.Time_Functions.convert_to_gps.to_gps(t)[source]

Convert astropy Time objects to GPS seconds.

Parameters:

t (astropy.time.Time or array-like of Time) – Input time(s). If already numeric, they are returned unchanged.

Returns:

  • float, array-like, or same type as input – GPS seconds corresponding to the input.

  • Author (Travis Yeager (yeager7@llnl.gov))