era_to_unix#
- caput.astro.time.era_to_unix(era, time0)[source]#
Calculate the UNIX time for a given Earth Rotation Angle.
The Earth Rotation Angle is the angle between the Celetial and Terrestrial Intermediate origins, and is a modern replacement for the Greenwich Sidereal Time.
This routine is accurate at about the 1 ms level.
- Parameters:
- eraarray_like
The Earth Rotation Angle in degrees.
- time0
number An earlier UNIX time within 24 sidereal hours. For example, the start of the solar day of the observation.
- Returns:
- unix_timearray_like
UNIX time.