HealPixProjection is a project to allow easy and efficient projection of healpix maps onto planar grids. It can be used as a standalone program cutsky
$ cutsky 0.0 0.0 --mapfilenames HFI_SkyMap_857_2048_R2.00_full.fits
or as a python function
from hpproj import cutsky
result = cutsky([0.0, 0.0], maps={'Planck 857': {'filename': 'HFI_SkyMap_857_2048_R2.00_full.fits'}} )
or as a python class, for optimization when producting several cuts
from hpproj import CutSky, to_coord
cutsky = CutSky({'Planck 857': {'filename': 'HFI_SkyMap_857_2048_R2.00_full.fits'}})
result = cutsky.cut_fits(to_coord([0., 0.])
Features
Galactic and equatorial system supported
All projection system from wcslib
Project several healpix maps at once, efficiently !
Output in fits, png or votable for the central point source photometry
Installation
Install hpproj using pip :
$ pip install hpproj
or by running setuptools on source
$ python setup.py install
Contribute
Support
If you are having issues, please let us know.
License
This project is licensed under the LGPL+3.0 license.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file hpproj-0.9.4.tar.gz.
File metadata
- Download URL: hpproj-0.9.4.tar.gz
- Upload date:
- Size: 25.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
749b9b70067c51b0ea8dda36a08b83b40a705b3616440543a32e97fcd8c983a0
|
|
| MD5 |
e17d252946bfd6066d0a622bac6531df
|
|
| BLAKE2b-256 |
dad80b6eeb7065981ca77cff4e354248581a10417c42a3e5c5fac9925216e1fc
|