pride.utils#

Functions#

discretize_scan(→ list[datetime.datetime])

Discretize a scan using internal constraints

eops_arcsec2rad(→ numpy.ndarray)

Convert EOPs from arcsec to rad

is_station_in_line(→ bool)

Check if a line of a data file corresponds to a station

get_date_from_epoch(→ astropy.time.Time)

Time object for 00:00:00 UTC of the given epoch

get_gps_week_for_date(→ int)

Get GPS week for a given date

get_year_from_epoch(→ int)

Get year from epoch

get_day_of_year_from_epoch(→ int)

Get day of year from epoch

get_hour_from_epoch(→ int)

Get hour from epoch

epoch_is_date(→ bool)

Check if the epoch differs from a date by less than 0.01 seconds