aboutsummaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* bin/fg21sim: Support new component "galactic/snr"Aaron LI2016-10-171-0/+10
| | | | Also update the general config for the new "galactic/snr" component.
* Add the executable bin/fg21sim-download-snr-dataAaron LI2016-10-151-0/+86
| | | | This script invokes the data/snr.py .
* Fix an import; Update one pattern and a commentAaron LI2016-10-141-1/+0
|
* Update bin/fg21sim to support Galactic free-free componentAaron LI2016-10-111-4/+24
| | | | | | | | | * bin/fg21sim: check the "common/components" config to simulate the enabled components; * bin/fg21sim: add Galactic free-free component support; * galactic/freefree.py: fix missing attributes. NOTE: simulated free-free maps are WRONG!! Need check/debug!
* utils: zea2healpix(): Implement inpainting missing pixelsAaron LI2016-10-101-0/+3
| | | | | | | The missing pixels in the reprojected HEALPix map are filled with the averages of their 8 neighboring pixels (excluding the NaN's if any). Also add the "--inpaint" argument to the executable script.
* utils: zea2healpix() also return the mask arrayAaron LI2016-10-101-5/+5
| | | | | | | The mask array has values 0, 1, and 2, which indicate the different statuses of the reprojected HEALPix pixels. Also update the executable script to use the new return results.
* Add excutable script "bin/zea2healpix"Aaron LI2016-10-101-0/+88
| | | | | | | | The script takes the two ZEA-projected FITS images, reproject them to the full-sky HEALPix map in Galactic frame with RING ordering. TODO: * Add argument "--inpaint" after implement the inpainting function.
* utils: Preseve the dtype when read/write FITS filesAaron LI2016-10-102-13/+0
| | | | | | | | * 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
* Update to use the "write_fits_healpix()" functionAaron LI2016-10-051-17/+3
|
* Add bin/fg21sim and some updates to galactic/synchrotronAaron LI2016-10-041-0/+67
| | | | | | | | | | | | * Add new executable "bin/fg21sim" * galactic/synchrotron: update to use "configs.get_path()" * galactic/synchrotron: create output dir if not exists * galactic/synchrotron: add logging support * galactic/synchrotron: append FITS extension to filename * galactic/synchrotron: pass the basic test TODO: * "output()" needs fixes with the FITS header
* bin/{healpix2hpx,hpx2healpix}: Use argparse choicesAaron LI2016-10-032-4/+6
|
* Add logging support for "healpix2hpx" & "hpx2healpix"Aaron LI2016-09-293-6/+64
| | | | | | * Argument "--log" control the log level * Argument "--logfile" to log the messages to file * Argument "--quiet" to disable logging messages to screen
* Remove ".py" extension for bin scriptsAaron LI2016-09-272-0/+0
|
* Add console scripts healpix2hpx.py and hpx2healpix.pyAaron LI2016-09-272-0/+124