| Commit message (Collapse) | Author | Age | Files | Lines | 
| | 
| 
| 
| 
| 
|  | 
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.
 | 
| |  | 
 | 
| | 
| 
| 
| 
| 
| 
|  | 
By saving the existing formatter and setting for the new handlers, the
configured format styles are kept.  Otherwise, the newly created
handlers does not have a formatter, thus the default format style gets
used.
 | 
| | 
| 
| 
|  | 
Also improve the comments.
 | 
| | 
| 
| 
| 
|  | 
"logging.basicConfig()" does NOT accept parameter "filemode" if the
corresponding paramter "filename" NOT specified.
 | 
| |  | 
 | 
| | 
| 
| 
|  | 
Also fix a bug about parameter "stream".
 | 
| | 
| 
| 
|  | 
Also fix a bug about "append_comment".
 | 
| | 
| 
| 
| 
| 
|  | 
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.
 | 
| |  | 
 | 
|   
  
  
  
  
  
  
  
   | 
* healpix2hpx: reorganize HEALPix data in HPX projection
* hpx2healpix: recover the HEALPix data from HPX projection
Thanks: M. Calabretta: WCSLIB: HPXcvt
TODO: Add test codes
 |