| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Functions "{read,write}_fits_healpix()" merged into io.py
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
| |
Also update the docstring and one comment.
|
| |
|
|
|
|
|
|
|
|
| |
* utils/fits.py: hack the dtype to ignore the byteorder (FITS data use
big endianness, e.g., dtype(">f4"))
* utils/healpix.py: explicit convert the dtype and log the dtype
* bin/healpix2hpx, bin/hpx2healpix: remove the --float argument
* other minor fixes/updates
|
| |
|
|
|
|
|
|
| |
This function wraps on the `healpy.read_map()`, but reset the data array
to its original dtype in FITS file, as well as return the FITS header in
`astropy.io.fits.Header` object.
|
|
NOTE:
This "write_fits_healpix()" function only implements the most common
case of the HEALPix FITS style.
|