Time Scales
AstroTime.update — FunctionAstroTime.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 — ConstantTAIThe singleton instance of the InternationalAtomicTime type representing the International Atomic Time (TAI) time scale.
References
AstroTime.TimeScales.TCB — ConstantTCBThe singleton instance of the BarycentricCoordinateTime type representing the Barycentric Coordinate Time (TCB) time scale.
References
AstroTime.TimeScales.TCG — ConstantTCGThe singleton instance of the GeocentricCoordinateTime type representing the Geocentric Coordinate Time (TCG) time scale.
References
AstroTime.TimeScales.TDB — ConstantTDBThe singleton instance of the BarycentricDynamicalTime type representing the Barycentric Dynamical Time (TDB) time scale.
References
AstroTime.TimeScales.TT — ConstantTTThe singleton instance of the TerrestrialTime type representing the Terrestrial Time (TT) time scale.
References
AstroTime.TimeScales.UT1 — ConstantUT1The singleton instance of the UniversalTime type representing the Universal Time (UT1) time scale.
References
AstroTime.TimeScales.BarycentricCoordinateTime — TypeBarycentricCoordinateTimeA type representing the Barycentric Coordinate Time (TCB) time scale.
References
AstroTime.TimeScales.BarycentricDynamicalTime — TypeBarycentricDynamicalTimeA type representing the Barycentric Dynamical Time (TDB) time scale.
References
AstroTime.TimeScales.GeocentricCoordinateTime — TypeGeocentricCoordinateTimeA type representing the Geocentric Coordinate Time (TCG) time scale.
References
AstroTime.TimeScales.InternationalAtomicTime — TypeInternationalAtomicTimeA type representing the International Atomic Time (TAI) time scale.
References
AstroTime.TimeScales.TerrestrialTime — TypeAstroTime.TimeScales.TimeScale — TypeAll timescales are subtypes of the abstract type TimeScale. The following timescales are defined:
AstroTime.TimeScales.UniversalTime — Type