Reference Frames

AstroBase.Frames.@frameMacro
@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
source