get_year_from_epoch#

pride.utils.get_year_from_epoch(epoch: astropy.time.Time) int#

Get year from epoch

Parameters:

epoch – Epoch in UTC

Returns:

Year component of the epoch