Time Scales
AstroTime.update — Function
AstroTime.update()Download up-to-date IERS tables from the internet to enable transformations to and from the UT1 time scale.
AstroTime.@timescale — Macro
@timescale scale [parent[, oneway]]Define a new time scale and the corresponding Epoch type alias.
Arguments
scale: The name of the time scaleparent: The "parent" time scale to which it should be linked (optional)oneway: Iftrue, only the transformation fromparenttoscaleis registered (optional, default:false)
Example
julia> @timescale GMT TAI
julia> GMT isa TimeScale
true
julia> GMTEpoch
Epoch{GMTScale}
julia> find_path(TT, GMT)
3-element Vector{TimeScale}:
TT
TAI
GMTAstroTime.TimeScales.TAI — Constant
TAIThe singleton instance of the InternationalAtomicTime type representing the International Atomic Time (TAI) time scale.
References
AstroTime.TimeScales.TCB — Constant
TCBThe singleton instance of the BarycentricCoordinateTime type representing the Barycentric Coordinate Time (TCB) time scale.
References
AstroTime.TimeScales.TCG — Constant
TCGThe singleton instance of the GeocentricCoordinateTime type representing the Geocentric Coordinate Time (TCG) time scale.
References
AstroTime.TimeScales.TDB — Constant
TDBThe singleton instance of the BarycentricDynamicalTime type representing the Barycentric Dynamical Time (TDB) time scale.
References
AstroTime.TimeScales.TT — Constant
TTThe singleton instance of the TerrestrialTime type representing the Terrestrial Time (TT) time scale.
References
AstroTime.TimeScales.UT1 — Constant
UT1The singleton instance of the UniversalTime type representing the Universal Time (UT1) time scale.
References
AstroTime.TimeScales.BarycentricCoordinateTime — Type
BarycentricCoordinateTimeA type representing the Barycentric Coordinate Time (TCB) time scale.
References
AstroTime.TimeScales.BarycentricDynamicalTime — Type
BarycentricDynamicalTimeA type representing the Barycentric Dynamical Time (TDB) time scale.
References
AstroTime.TimeScales.GeocentricCoordinateTime — Type
GeocentricCoordinateTimeA type representing the Geocentric Coordinate Time (TCG) time scale.
References
AstroTime.TimeScales.InternationalAtomicTime — Type
InternationalAtomicTimeA type representing the International Atomic Time (TAI) time scale.
References
AstroTime.TimeScales.TimeScale — Type
All timescales are subtypes of the abstract type TimeScale. The following timescales are defined: