Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flux-preserving exact reproject for HEALPIX? #70

Open
cdeil opened this issue May 6, 2015 · 1 comment
Open

Add flux-preserving exact reproject for HEALPIX? #70

cdeil opened this issue May 6, 2015 · 1 comment

Comments

@cdeil
Copy link
Member

cdeil commented May 6, 2015

This is a feature request to add a flux-conserving (and equivalently count-conserving) reprojection method to / from HEALPIX.

For HEALPIX <-> HEALPIX it would be trivial, just multiply / divide by 4 to the power of difference in HEALPIX order. E.g. if one gets a huge HEALPIX file but doesn't need the high resolution, one could downsample. Not sure if this should be in reproject or in healpy. @lpsinger Maybe this exists in healpy and I missed it?

For HEALPIX <-> normal WCS projection image I don't know how to do it. I thought HEALPIX pixel boundaries are great circles and the 4-corner polygon "exact" method from Montage could be used as well, but this page http://healpix.jpl.nasa.gov/html/intronode4.htm explains that pixel boundaries are not great circles on the sphere.
The use case I have for this count- and flux-preserving reprojection would be to be able to go back and forth between HEALPIX and normal projections and be able to do correct photometry of sources e.g. on FERMI data. @lpsinger Easy or hard to implement? Worth the effort?

@astrofrog
Copy link
Member

Actually for HEALPIX <-> HEALPIX it's also not trivial if you change coordinate system since the pixels are no longer aligned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants