aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/galactic/synchrotron.py
Commit message (Collapse)AuthorAgeFilesLines
* configs: Remove option "save"; all enabled components will be savedAaron LI2017-08-261-1/+0
|
* sky.py: Rename load() -> open(), read() -> load()Aaron LI2017-08-261-3/+3
|
* galactic/synchrotron.py: Take absolute value on spectral indexAaron LI2017-08-231-1/+2
|
* Make "frequencies" optional in the simulate() methodAaron LI2017-08-141-3/+16
| | | | | | XXX: foregrounds.py needs update! Signed-off-by: Aaron LI <aly@aaronly.me>
* Use keyword "BUNIT" and unit "K"Aaron LI2017-06-131-1/+1
|
* Minor updates to galactic/{freefree,synchrotron}.pyAaron LI2017-05-211-4/+3
|
* galactic/freefree: Update to support sky.pyAaron LI2017-05-211-3/+5
|
* galactic/synchrotron: Update to support sky.pyAaron LI2017-05-211-73/+61
| | | | | | | * Also update foregrounds.py to use sky.py * Minor fixes to configs/manager.py TODO: update synchrotron/add_smallscales() to also work with sky patch.
* galactic/synchrotron.py: Fix typo w.r.t. component nameAaron LI2017-05-211-1/+1
|
* configs : Drop "output/filetype"; only support FITSAaron LI2017-05-171-5/+0
|
* configs: New "sky" section, and remove "common" sectionAaron LI2017-05-161-2/+2
| | | | * Update checkers accordingly
* Update "simulate_frequency()" to also return the output file pathAaron LI2016-11-211-5/+31
| | | | | * Update "output()" method to return the output file path * Update "simulate()" to also return the list of output file paths
* 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