Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | utils/healpix.py: fix logging import; minor style fixes | Aaron LI | 2016-10-09 | 1 | -10/+5 |
| | |||||
* | utils: Add "write_fits_healpix()" to replace "healpy.write_map()" | Aaron LI | 2016-10-05 | 2 | -0/+101 |
| | | | | | | NOTE: This "write_fits_healpix()" function only implements the most common case of the HEALPix FITS style. | ||||
* | utils/logging.py: Close handler before removing | Aaron LI | 2016-10-02 | 1 | -0/+3 |
| | |||||
* | utils/logging.py: Save existing formatter for new handlers | Aaron LI | 2016-09-29 | 1 | -0/+5 |
| | | | | | | | 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. | ||||
* | utils/logging: reset handlers before initialization/reconfiguration | Aaron LI | 2016-09-29 | 1 | -2/+9 |
| | | | | Also improve the comments. | ||||
* | utils/logging.py: Hack the "filemode" arg of "basicConfig()" | Aaron LI | 2016-09-29 | 1 | -1/+4 |
| | | | | | "logging.basicConfig()" does NOT accept parameter "filemode" if the corresponding paramter "filename" NOT specified. | ||||
* | utils/healpix.py: Fix logger name | Aaron LI | 2016-09-29 | 1 | -1/+1 |
| | |||||
* | setup_logging(): Add parameter "level" | Aaron LI | 2016-09-29 | 1 | -2/+14 |
| | | | | Also fix a bug about parameter "stream". | ||||
* | utils/healpix.py: Add various log INFO messages | Aaron LI | 2016-09-29 | 1 | -6/+22 |
| | | | | Also fix a bug about "append_comment". | ||||
* | Add utility "setup_logging()" to setup/update logging | Aaron LI | 2016-09-29 | 2 | -0/+71 |
| | | | | | | 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: remove duplicated header | Aaron LI | 2016-09-27 | 1 | -2/+0 |
| | |||||
* | utils/healpix.py: HEALPix data and HPX projection conversions | Aaron LI | 2016-09-27 | 2 | -0/+344 |
* healpix2hpx: reorganize HEALPix data in HPX projection * hpx2healpix: recover the HEALPix data from HPX projection Thanks: M. Calabretta: WCSLIB: HPXcvt TODO: Add test codes |