aboutsummaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Update to use renamed "check_configs()" instead of "validate_configs()"Aaron LI2016-11-041-2/+2
|
* webui: Add "bin/fg21sim-webui" to start the UI serverAaron LI2016-10-301-0/+51
|
* utils/__init__.py: Only import "setup_logging" from "logging.py"Aaron LI2016-10-293-3/+8
| | | | | | | | | | 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!
* bin/fg21sim: Update the import pathAaron LI2016-10-271-1/+1
|
* Check the output file existence firstAaron LI2016-10-273-5/+24
|
* bin/fg21sim-download-cluster-data: Add catalog descriptionAaron LI2016-10-211-0/+37
|
* Add bin/fg21sim-download-cluster-dataAaron LI2016-10-201-0/+131
| | | | | This script retrieves the galaxy cluster catalog data simulated by the Hubble Volume Project, and organizes the data to a CSV file.
* bin/fg21sim: Rewrite to use the interface from foreground.pyAaron LI2016-10-181-44/+5
| | | | | This greatly simplifies the "bin/fg21sim" script, and also makes the script more generic.
* bin/fg21sim: Add one debug before logging availableAaron LI2016-10-171-0/+3
|
* 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