aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/utils/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* utils: Add function "read_fits_healpix()"Aaron LI2016-10-091-1/+1
| | | | | | 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.
* utils: Add "write_fits_healpix()" to replace "healpy.write_map()"Aaron LI2016-10-051-0/+1
| | | | | | NOTE: This "write_fits_healpix()" function only implements the most common case of the HEALPix FITS style.
* Add utility "setup_logging()" to setup/update loggingAaron LI2016-09-291-0/+1
| | | | | | This "setup_logging()" utility can setup the logging module with the given configuration dict, and can also update the logging configs by specify the additional parameters.
* utils/healpix.py: HEALPix data and HPX projection conversionsAaron LI2016-09-271-0/+4
* healpix2hpx: reorganize HEALPix data in HPX projection * hpx2healpix: recover the HEALPix data from HPX projection Thanks: M. Calabretta: WCSLIB: HPXcvt TODO: Add test codes