Astropy v6.0 is going to be released by the end of this year with support for body-fixed reference frame World Coordinate System description!
The feature has been built on top of the geodetic coordinate representation implemented in 2020 by Juan Luis Cano Rodríguez.
Also, a new bodycentric coordinate representation has been defined.
Each spheroidal body have one or multiple representations used to define a reference frame and its related WCS description.
Some examples using this new feature are available at these links.
- Create a new coordinate frame class for Mars — Astropy v6.0.dev730+g01af846
- Mars Body-fixed frame and representation conversions.
- Planetary images WCS manipulations
This work was made possible thanks to EuroplanetH2024 funding via the Paris Observatory and @s.erard
A huge thank you goes to all the Astropy developers and in particular to Marten van Kerkwijk who took the time to thoroughly and patiently review the related pull requests.
And feel free to add comments or suggestions about the tutorials here or on github.