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 fromparent
toscale
is registered (optional, default:false
)
Example
julia> @timescale GMT TAI
julia> GMT isa TimeScale
true
julia> GMTEpoch
Epoch{GMTScale, T} where T
julia> find_path(TT, GMT)
3-element Vector{TimeScale}:
TT
TAI
GMT
AstroTime.TimeScales.TAI
— ConstantTAI
The singleton instance of the InternationalAtomicTime
type representing the International Atomic Time (TAI) time scale.
References
AstroTime.TimeScales.TCB
— ConstantTCB
The singleton instance of the BarycentricCoordinateTime
type representing the Barycentric Coordinate Time (TCB) time scale.
References
AstroTime.TimeScales.TCG
— ConstantTCG
The singleton instance of the GeocentricCoordinateTime
type representing the Geocentric Coordinate Time (TCG) time scale.
References
AstroTime.TimeScales.TDB
— ConstantTDB
The singleton instance of the BarycentricDynamicalTime
type representing the Barycentric Dynamical Time (TDB) time scale.
References
AstroTime.TimeScales.TT
— ConstantTT
The singleton instance of the TerrestrialTime
type representing the Terrestrial Time (TT) time scale.
References
AstroTime.TimeScales.UT1
— ConstantUT1
The singleton instance of the UniversalTime
type representing the Universal Time (UT1) time scale.
References
AstroTime.TimeScales.BarycentricCoordinateTime
— TypeBarycentricCoordinateTime
A type representing the Barycentric Coordinate Time (TCB) time scale.
References
AstroTime.TimeScales.BarycentricDynamicalTime
— TypeBarycentricDynamicalTime
A type representing the Barycentric Dynamical Time (TDB) time scale.
References
AstroTime.TimeScales.GeocentricCoordinateTime
— TypeGeocentricCoordinateTime
A type representing the Geocentric Coordinate Time (TCG) time scale.
References
AstroTime.TimeScales.InternationalAtomicTime
— TypeInternationalAtomicTime
A 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