Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | configs: Remove option "save"; all enabled components will be saved | Aaron LI | 2017-08-26 | 1 | -1/+0 |
| | |||||
* | sky.py: Rename load() -> open(), read() -> load() | Aaron LI | 2017-08-26 | 2 | -6/+6 |
| | |||||
* | galactic/synchrotron.py: Take absolute value on spectral index | Aaron LI | 2017-08-23 | 1 | -1/+2 |
| | |||||
* | Make "frequencies" optional in the simulate() method | Aaron LI | 2017-08-14 | 3 | -12/+46 |
| | | | | | | XXX: foregrounds.py needs update! Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Update against "Fnu_to_Tb_fast()" unit changes | Aaron LI | 2017-08-03 | 1 | -2/+2 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Update references a bit | Aaron LI | 2017-07-31 | 1 | -19/+19 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | galactic/freefree: Add "dust_fraction" and "halpha_abs_th" configs | Aaron LI | 2017-07-29 | 1 | -10/+6 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | galactic/freefree.py: Add method "_calc_halpha_to_freefree()" | Aaron LI | 2017-07-29 | 1 | -14/+24 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | galactic/freefree.py: Some cleanups | Aaron LI | 2017-07-29 | 1 | -33/+33 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | galactic/freefree: Add config "electron_temperature" | Aaron LI | 2017-07-29 | 1 | -10/+23 |
| | | | | | | Update method "_calc_ratio_a()" to "_calc_factor_a()" Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Use [arcsec] as the unit for pixel size and resolution | Aaron LI | 2017-07-19 | 1 | -3/+9 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Use keyword "BUNIT" and unit "K" | Aaron LI | 2017-06-13 | 3 | -3/+3 |
| | |||||
* | galactic/snr.py: Explain size_{major,minor} are diameter values | Aaron LI | 2017-06-11 | 1 | -4/+6 |
| | |||||
* | extragalactic/clusters: Update to use sky.py | Aaron LI | 2017-05-26 | 1 | -1/+1 |
| | |||||
* | galactic/snr: Update to support the sky.py | Aaron LI | 2017-05-22 | 1 | -102/+118 |
| | | | | Also fix a typo in configs/checkers.py | ||||
* | Minor updates to galactic/{freefree,synchrotron}.py | Aaron LI | 2017-05-21 | 2 | -12/+10 |
| | |||||
* | galactic/freefree: Update to support sky.py | Aaron LI | 2017-05-21 | 2 | -70/+54 |
| | |||||
* | galactic/synchrotron: Update to support sky.py | Aaron LI | 2017-05-21 | 1 | -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 name | Aaron LI | 2017-05-21 | 1 | -1/+1 |
| | |||||
* | configs : Drop "output/filetype"; only support FITS | Aaron LI | 2017-05-17 | 3 | -15/+0 |
| | |||||
* | configs: New "sky" section, and remove "common" section | Aaron LI | 2017-05-16 | 1 | -2/+2 |
| | | | | * Update checkers accordingly | ||||
* | galactic/snr.py: Small cleanup; Update default resolution | Aaron LI | 2016-12-13 | 1 | -2/+3 |
| | |||||
* | galactic/snr.py: Use HEALPix pixel area if object smaller than it | Aaron LI | 2016-12-13 | 1 | -1/+5 |
| | |||||
* | galactic/snr.py: Update to use "Fnu_to_Tb_fast()"; some cleanups | Aaron LI | 2016-12-13 | 1 | -18/+19 |
| | |||||
* | galactic/snr.py: Change a logging level | Aaron LI | 2016-11-21 | 1 | -1/+2 |
| | |||||
* | Update "simulate_frequency()" to also return the output file path | Aaron LI | 2016-11-21 | 3 | -15/+82 |
| | | | | | * 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 LI | 2016-10-29 | 3 | -3/+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! | ||||
* | Update to use the new "checksum" config option | Aaron LI | 2016-10-27 | 3 | -3/+8 |
| | | | | | Also add a warning log message for "galactic/snr.py" and "extragalactic/clusters.py". | ||||
* | galactic/snr.py: Fix wrong astropy quantity operation | Aaron LI | 2016-10-22 | 1 | -1/+1 |
| | | | | | | | When two quantities of same unit class divides, to get the correct numerical value, whether use `.decompose().value`, or just convert to plain Python object, e.g., `float(...)`, which will fail if the input quantity is not dimensionless. | ||||
* | galactic/snr.py: Add one reference and update docstring | Aaron LI | 2016-10-22 | 1 | -5/+12 |
| | |||||
* | galactic/{freefree,synchrotron}.py: Fix small bugs | Aaron LI | 2016-10-18 | 2 | -2/+2 |
| | | | | | * 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 LI | 2016-10-18 | 1 | -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/freefree.py: Add preocess(), postprocess, _make_filepath() | Aaron LI | 2016-10-18 | 1 | -52/+90 |
| | | | | | | | * Add the "preprocess()" and "postprocess()" for a better interface; * Add "_make_filepath()" to compose the output filename; * Reorder some methods for consistency; * Some refactorings and cleanups. | ||||
* | galctic/snr.py: Add "preprocess()" and "postprocess()" methods | Aaron LI | 2016-10-18 | 1 | -70/+86 |
| | | | | | | | * Add "preprocess()" and "postprocess()" methods * Add the "name" property * Tweak the places of preparation procedures been invoked * Reorder some methods | ||||
* | galactic/snr.py: Fix the existence check of dir of catalog ouput | Aaron LI | 2016-10-17 | 1 | -1/+1 |
| | |||||
* | galactic: Move the "simulate()" method; Add "UNIT" keyword | Aaron LI | 2016-10-17 | 2 | -26/+28 |
| | |||||
* | galactic/snr.py: Create dir if necessary and adhere clobber config | Aaron LI | 2016-10-17 | 1 | -0/+11 |
| | |||||
* | galactic/snr.py: Fix various issues, and works almost OK. | Aaron LI | 2016-10-17 | 1 | -7/+22 |
| | | | | Barely test and seems OK. | ||||
* | galactic/snr.py: Implemented missing but necessary functionalities | Aaron LI | 2016-10-17 | 1 | -25/+164 |
| | | | | | | | | The necessary but missing functionalities to simulate the Galactic SNRs emission maps are implemented, and this new emission component is ready for testing. Also fix a typo in "utils/grid.py". | ||||
* | galactic: Add new component "galactic/snr": supernova remnants | Aaron LI | 2016-10-17 | 2 | -0/+256 |
| | | | | NOTE: very preliminary, and missing many necessary functions! | ||||
* | Fix the reStructuredText citation syntax | Aaron LI | 2016-10-17 | 1 | -3/+3 |
| | |||||
* | Tweak the docstring styles | Aaron LI | 2016-10-11 | 2 | -6/+12 |
| | |||||
* | galactic/freefree: Mask regions where absorption is uncertain | Aaron LI | 2016-10-11 | 1 | -4/+25 |
| | | | | | | | | | | | | | | * Mask the regions where the dust absorption is too high to well determine the true Halpha absorption. There are regions (e.g., Galactic plane) have too large dust absorption which cause float overflow when applying absorption correction to the Halpha map. * Fix a bug on the wrong parameter passed to "_calc_ratio_a()" method in "_simulate_frequency()" * Move "_correct_dust_absorption()" invokation from "simulate()" to "_simulate_frequency()" Already tested and OK! | ||||
* | Update bin/fg21sim to support Galactic free-free component | Aaron LI | 2016-10-11 | 1 | -0/+4 |
| | | | | | | | | | * 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! | ||||
* | galactic: Add free-free component simulation | Aaron LI | 2016-10-11 | 2 | -0/+228 |
| | | | | | | | * New class "galactic.FreeFree" to simulate free-free emission * Add new config section "galactic/freefree" NOTE: current untested | ||||
* | galactic/synchrotron: Merge up/downgrade Nside to load method | Aaron LI | 2016-10-11 | 1 | -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 LI | 2016-10-09 | 1 | -12/+5 |
| | | | | Also remove a unused variable in "galactic/synchrotron.py" | ||||
* | Update to use the "write_fits_healpix()" function | Aaron LI | 2016-10-05 | 1 | -5/+4 |
| | |||||
* | Add bin/fg21sim and some updates to galactic/synchrotron | Aaron LI | 2016-10-04 | 2 | -4/+34 |
| | | | | | | | | | | | | * 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 item | Aaron LI | 2016-10-04 | 1 | -5/+4 |
| |