astronomy-commons / hats

Hierarchical Adaptive Tiling Scheme
https://hats.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
17 stars 5 forks source link

Plotting healpix pixels at order < 3 shows borders at order 3 #397

Closed smcguire-cmu closed 1 week ago

smcguire-cmu commented 3 weeks ago

Our current healpix map plotting implementation is limited to plotting pixels at order 3 and above. Any pixels at a lower order are split into their order 3 pixels. This is because the mocpy method we use to generate the matplotlib paths only generates one point per pixel corner, and this breaks down for larger pixels. We can either modify the mocpy method, or combine the paths generated to fix this issue and show lower order pixels without borders inside them.

smcguire-cmu commented 1 week ago

Closed by #413