Add method(s) to transform mapped data between projections #403
Labels
api
Related to the Python API (public methods etc.)
backend
Related to the backend (coordinate conversion, SPICE etc.)
backplane
Related to backplanes
enhancement
New feature or request
idea
Something that might be a good enhancement
Inspired by #399 (reply in thread)
It would be useful to add some method(s) to transform mapped data between different projections. E.g. to take a rectangular projection then transform it to orthographic. This would be a logical extension of the observed image -> map transformations that are currently possible. Some potential use cases:
I already have some similar code in https://github.com/ortk95/reproject-data that can be used as a starting point for this. Logically, I think this new method(s?) would go in
BodyXY
- e.g. something likeBodyXY.transform_map_projection()
andBodyXY.simulate_observation_from_map()
. Most (/all?) of the internal projection logic could re-use the existing mapping code in PlanetMapper.This would also obviously be worth documenting properly, including adding some examples to the tutorials page.
The text was updated successfully, but these errors were encountered: