Earth Attitude

AstroBase.EarthAttitude.nutationFunction
nutation(model, ep)

Return the nutation components for a given epoch and model.

Arguments

  • model: IAU model, one of: iau1980, iau2000a, iau2000b, iau2006
  • ep: An epoch

Output

  • δψ: Nutation in longitude (radians)
  • δϵ: Nutation in obliquity (radians)

Example

julia> ep = TTEpoch(2020, 1, 1)
2020-01-01T00:00:00.000 TT

julia> nutation(iau2006a, ep)
(-7.996558234083069e-5, -8.251412879483326e-6)

References

source
AstroBase.EarthAttitude.obliquityFunction
obliquity(model, ep)

Return the mean obliquity of the ecliptic for a given epoch and model.

Arguments

  • model: IAU model, one of: iau1980, iau2006
  • ep: An epoch

Output

Returns the angle between the ecliptic and mean equator of date in radians.

Example

julia> ep = TTEpoch(2020, 1, 1)
2020-01-01T00:00:00.000 TT

julia> obliquity(iau2006, ep)
0.40904718953841473

References

source