aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/galactic/synchrotron.py
Commit message (Collapse)AuthorAgeFilesLines
* 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