Reference Frames
AstroBase.Frames.cirf
— Constantcirf
The singleton instance of the CIRF
type representing the Celestial Intermediate Reference Frame (CIRF).
Reference
AstroBase.Frames.icrf
— Constanticrf
The singleton instance of the ICRF
type representing the International Celestial Reference Frame (ICRF).
Reference
AstroBase.Frames.itrf
— Constantitrf
The singleton instance of the ITRF
type representing the International Terrestrial Reference Frame (ITRF).
Reference
AstroBase.Frames.tirf
— Constanttirf
The singleton instance of the TIRF
type representing the Terrestrial Intermediate Reference Frame (TIRF).
Reference
AstroBase.Frames.AbstractFrame
— TypeAbstractFrame
Abstract supertype for all reference frames.
AstroBase.Frames.CIRF
— TypeAstroBase.Frames.ICRF
— TypeAstroBase.Frames.ITRF
— TypeAstroBase.Frames.InertialFrame
— TypeInertialFrame
Abstract supertype for (pseudo-)inertial reference frames.
AstroBase.Frames.RotatingFrame
— TypeRotatingFrame
Abstract supertype for rotating reference frames.
AstroBase.Frames.TIRF
— TypeAstroBase.Frames.isinertial
— Methodisinertial(frame)
Return true
if frame
is a (pseudo-)inertial reference frame.
AstroBase.Frames.isrotating
— Methodisrotating(frame)
Return true
if frame
is a rotating reference frame.
AstroBase.Frames.@frame
— Macro@frame(name, type=NAMEFrame, parent=nothing, rotating=false)
Define a new reference frame name
which is the singleton instance of type
. Optionally provide a parent
frame and indicate whether the frame is rotating
.
Example
julia> @frame inertial
julia> isinertial(inertial)
true
julia> typeof(inertial)
INERTIALFrame
julia> @frame rotating type=Rotating parent=inertial rotating=true
julia> isrotating(rotating)
true
julia> typeof(rotating)
Rotating