aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/galactic/synchrotron.py
Commit message (Collapse)AuthorAgeFilesLines
* utils/__init__.py: Only import "setup_logging" from "logging.py"Aaron LI2016-10-291-1/+1
| | | | | | | | | | 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!
* Update to use the new "checksum" config optionAaron LI2016-10-271-1/+2
| | | | | Also add a warning log message for "galactic/snr.py" and "extragalactic/clusters.py".
* galactic/{freefree,synchrotron}.py: Fix small bugsAaron LI2016-10-181-1/+1
| | | | | * freefree.py: Add the missing "/" to the config "halphamap" * synchrotron.py: Fix "comp" to have the correct value
* galactic/synchrotron.py: Add preocess(), postprocess, _make_filepath()Aaron LI2016-10-181-41/+75
| | | | | | * Add the "preprocess()" and "postprocess()" for a better interface; * Add "_make_filepath()" to compose the output filename; * Reorder some methods for consistency.
* galactic: Move the "simulate()" method; Add "UNIT" keywordAaron LI2016-10-171-14/+15
|
* Tweak the docstring stylesAaron LI2016-10-111-3/+6
|
* galactic/synchrotron: Merge up/downgrade Nside to load methodAaron LI2016-10-111-45/+29
| | | | | | | * Merge the upgrade/downgrade resolution w.r.t Nside to the map loading methods; * Update the variable names; * Check the status of smallscales addition.
* Use newly added "read_fits_healpix()"Aaron LI2016-10-091-12/+5
| | | | Also remove a unused variable in "galactic/synchrotron.py"
* Update to use the "write_fits_healpix()" functionAaron LI2016-10-051-5/+4
|
* Add bin/fg21sim and some updates to galactic/synchrotronAaron LI2016-10-041-4/+30
| | | | | | | | | | | | * 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
* Remove the "common/data_dir" config itemAaron LI2016-10-041-5/+4
|
* Add preliminary Galactic synchrotron simulation support.Aaron LI2016-10-031-0/+204
NOTE: untested