pyacs.lib.astrotime.epoch2decyear

Convert SINEX-format epoch string ‘YY:DOY:SOD’ (e.g. ‘17:100:43185’) to decimal year.

pyacs.lib.astrotime.epoch2decyear.epoch2decyear(epoch)[source]

Convert SINEX-format epoch string ‘YY:DOY:SOD’ (e.g. ‘17:100:43185’) to decimal year.

Parameters:

epoch (str or array-like) – Epoch string(s).

Returns:

Decimal year.

Return type:

float or ndarray