Skip to content

Commit 31c6b5f

Browse files
Fix: add frame tie to mean-equator-equinox frame
A question in #1048 led me to notice this oversight.
1 parent fd00f02 commit 31c6b5f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.rst

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ Unreleased future version
1818
would loop forever.
1919
`#1046 <https://github.com/skyfielders/python-skyfield/issues/1046>`_
2020

21+
* Fix: the new :class:`~skyfield.framelib.mean_equator_and_equinox_of_date`
22+
reference frame was off by nearly 0.02 arcseconds because it applied
23+
precession but forgot to apply the frame tie between ICRS and J2000.
24+
2125
v1.51 — 2025 February 23
2226
------------------------
2327

skyfield/framelib.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class mean_equator_and_equinox_of_date(object):
6060
"""
6161
@staticmethod
6262
def rotation_at(t):
63-
return t.P
63+
return mxm(t.P, ICRS_to_J2000)
6464

6565
class true_equator_and_equinox_of_date(object):
6666
"""The dynamical frame of Earth’s true equator and true equinox of date.

0 commit comments

Comments
 (0)