astropy-healpix
astropy-healpix copied to clipboard
BSD-licensed HEALPix for Astropy - maintained by @astrofrog and @lpsinger
Currently we have `order : { ‘nested’ | ‘ring’ }`. In HEALPix, "order" is also often used for `k = log2(nside)`, so IMO this is confusing and should be changed....
In Gammapy we currently call [healpy.query_disc](http://healpy.readthedocs.io/en/latest/generated/healpy.query_disc.html) with both the `inclusive=True` and the `inclusive=False` option (see https://github.com/gammapy/gammapy/pull/1167#issuecomment-337156775). As discussed in https://github.com/astropy/astropy-healpix/issues/41 , probably we don't want to spend the time to...
One of the issues trying to switch Gammapy over to using astropy-healpix is that we call `ang2pix` with an array of nside values: https://gist.github.com/cdeil/754b76dc7f22511a5504fbbe74dccd62#file-gistfile1-txt-L989 Minimum test case that works with...
At the moment there is a lot of typecasting going on in the C code between int and int64_t. As suggested by @cdeil it would be a lot simpler if...
At the moment, the ``HEALPix`` class doesn't include data internally, and instead data should be passed when interpolating. However, it would be nice to be able to represent a HEALPix...
We should try and re-use the frame-parsing machinery from Astropy to make it so we can use: ```python hp = HEALPix(nside=4, order='ring', frame='galactic') ``` (like in SkyCoord)
Before we actually fix #34 we should add a mention in the documentation about precision limitations - like healpy we are mostly limited to nside=29 (50mas resolution) but close to...
At the moment, our longitude/latitude to pixel conversion has a lower precision than that of the official HEALPix library close to the poles. This is visible when making a map...
Since I cannot provide code directly (as I'm too familiar with the other Healpix implementations, which are under GPL), I thought it might still be useful to point out a...
I just tried to run this simple cone search: ``` int *ind = NULL; int npix = healpix_rangesearch_radec_simple(1.5, 0., 1.5, 128, &ind); ``` When compiling the C library with "-O2",...