View Source SpaceDust.Time.GMST (Space Dust v0.3.0)
Greenwich Mean Sidereal Time (GMST).
GMST is the hour angle of the mean vernal equinox measured from the Greenwich meridian. It represents the Earth's rotation angle and is essential for converting between Earth-fixed and inertial reference frames.
GMST differs from Greenwich Apparent Sidereal Time (GAST) by the equation of the equinoxes (nutation in right ascension).
Internally stores the GMST angle in radians.
Summary
Functions
Create from degrees.
Create from hours.
Create from Nx tensor.
Create a GMST from radians.
Normalize to range [0, 2π).
Get the GMST angle in degrees.
Get the GMST angle in hours.
Get the GMST angle in radians.
Convert to Nx tensor (radians).
Types
@type t() :: %SpaceDust.Time.GMST{radians: float()}
Functions
Create from degrees.
Create from hours.
@spec from_tensor(Nx.Tensor.t()) :: t()
Create from Nx tensor.
Create a GMST from radians.
Normalize to range [0, 2π).
Get the GMST angle in degrees.
Get the GMST angle in hours.
Get the GMST angle in radians.
@spec to_tensor(t()) :: Nx.Tensor.t()
Convert to Nx tensor (radians).