You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DeepSkyObject without an ephemeris applies precession and nutation in the wrong order #313
DeepSkyObjectPosition rotates the position by precession * nutation when no ephemeris is given, while Apparent.build_from_astrometric rotates by nutation * precession, which is what its comment says and what the IAU transformation does (N * PB).
The two orders differ by up to about 0.055 arcsecond, so the same star gets a slightly different apparent position depending on whether ephem: is passed. The velocity is rotated in the same wrong order.
The code is in compute_apparent, in lib/astronoby/bodies/deep_sky_object_position.rb:
Activity