Closed swyatt7 closed 9 months ago
test_plot.py
tests/baseline
for the centering in mollweide and aitoff projectionsAlso, please add a change log entry!
This looks great! This is a GitHub mirror of https://git.ligo.org/lscsoft/ligo.skymap/ and the real CI/CD pipeline runs in GitLab, so I pushed this to a branch and opened it as a GitLab MR here: https://git.ligo.org/lscsoft/ligo.skymap/-/merge_requests/343
Merged as https://git.ligo.org/lscsoft/ligo.skymap/-/merge_requests/343. Thanks! Do you need this in a release?
Awesome! Thanks for putting up with excellent linting
skills :) . And I don't need it immediately, you can just include it in the next release. I'm writing some plotting functions for the gwtm_api , and I can just test them with my current ligo.skymap environment I developed in.
Adds the ability to center a mollweide or aitoff projection on given coordinates.
The
center
parameter follows the same behavior as the zoom and globe projections. It is defaulted to"180d 0d"
upon init in theAllSkyAxes
class, and cast into anastropy.coordinates.SkyCoord
, where the ra and dec are set to the header"CRVAL1"
and"CRVAL2"
, respectively.