View Source SpaceDust.Time.TT (Space Dust v0.3.0)
Terrestrial Time (TT).
TT is the modern astronomical time standard for geocentric ephemerides. It provides a uniform time scale for planetary and lunar ephemeris calculations.
TT = TAI + 32.184 seconds
The 32.184 second offset was chosen to maintain continuity with the older Ephemeris Time (ET) standard at the time of the transition.
Internally stores time as fractional seconds since a TT reference epoch.
Summary
Functions
Add seconds to TT time.
Difference between two TT times in seconds.
Create TT from Julian Date (in TT scale).
Create from Nx tensor.
Calculate Julian centuries since J2000.0 in TT. This is commonly used for precession/nutation calculations.
Create a TT time from TT seconds.
Convert TT to Julian Date.
Get the TT seconds value.
Convert to Nx tensor.
Types
@type t() :: %SpaceDust.Time.TT{tt_seconds: float()}
Functions
Add seconds to TT time.
Difference between two TT times in seconds.
Create TT from Julian Date (in TT scale).
@spec from_tensor(Nx.Tensor.t()) :: t()
Create from Nx tensor.
Calculate Julian centuries since J2000.0 in TT. This is commonly used for precession/nutation calculations.
Create a TT time from TT seconds.
Convert TT to Julian Date.
Get the TT seconds value.
@spec to_tensor(t()) :: Nx.Tensor.t()
Convert to Nx tensor.