aboutsummaryrefslogtreecommitdiffstats
path: root/bin/zea2healpix
Commit message (Collapse)AuthorAgeFilesLines
* utils: Merge fits.py into io.pyAaron LI2017-08-131-1/+1
| | | | | | Functions "{read,write}_fits_healpix()" merged into io.py Signed-off-by: Aaron LI <aly@aaronly.me>
* Add `fg21sim.share` module to hold globally shared "CONFIGS" & "COSMO"Aaron LI2017-07-311-1/+1
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* Update bin scripts to use global "CONFIGS"Aaron LI2017-07-231-8/+5
| | | | | | Also update copyright year/email and minor cleanups Signed-off-by: Aaron LI <aly@aaronly.me>
* Import modules (with Numba JIT) just before usageAaron LI2016-12-131-2/+3
| | | | Thus, the usage information can be printed out quickly :)
* utils/__init__.py: Only import "setup_logging" from "logging.py"Aaron LI2016-10-291-1/+3
| | | | | | | | | | Since some modules (e.g., healpix.py) under "utils" involves Numba JIT optimization, which significantly slows the start-up speed, even some consumers (e.g., bin/fg21sim-webui) do not need them at all. Fix various import statements of other modules. NOTE: not test at the moment!
* Check the output file existence firstAaron LI2016-10-271-2/+8
|
* 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.