Ecliptic & Equatorial (ICRF) and position attributes/methods for r_vec & v_vec #1058
-
My overall question is, what is your suggestion to convert between Ecliptic and Equatorial xyz frames (xyz & velocity); I read thru the documentation, but it is not clear, to me the most straight forward techniques. BTW, thank you for https://rhodesmill.org/skyfield/design.html , and of course https://rhodesmill.org/skyfield/coordinates.html , but it is not clear to me the "smartest work-flow" to convert: Ecliptic->Equatorial AND Equatorial->Ecliptic (xyz for position and velocity).
Code output:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Your calls to https://rhodesmill.org/skyfield/coordinates.html#ecliptic-coordinates-1 The old It looks like I should take this opportunity to expand the documentation at the bottom of this section of the docs: https://rhodesmill.org/skyfield/coordinates.html#turning-coordinates-into-a-position The call you want to convert the other way is |
Beta Was this translation helpful? Give feedback.
Your calls to
.frame_xyz(ecliptic_frame)
and.frame_xyz_and_velocity(ecliptic_frame)
are fine, and indeed match the documentation at:https://rhodesmill.org/skyfield/coordinates.html#ecliptic-coordinates-1
The old
ecliptic_position()
method was deprecated and removed from the documentation about a half-decade ago because of its confusing behavior: it defaults to the ecliptic of J2000, unless given a time argument to select a different epoch. I suggest ignoring that method.It looks like I should take this opportunity to expand the documentation at the bottom of this section of the docs:
https://rhodesmill.org/skyfield/coordinates.html#turning-coordinates-into-a-position
The call you want …