aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/galactic/snr.py
Commit message (Collapse)AuthorAgeFilesLines
* Use [arcsec] as the unit for pixel size and resolutionAaron LI2017-07-191-3/+9
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* Use keyword "BUNIT" and unit "K"Aaron LI2017-06-131-1/+1
|
* galactic/snr.py: Explain size_{major,minor} are diameter valuesAaron LI2017-06-111-4/+6
|
* extragalactic/clusters: Update to use sky.pyAaron LI2017-05-261-1/+1
|
* galactic/snr: Update to support the sky.pyAaron LI2017-05-221-102/+118
| | | | Also fix a typo in configs/checkers.py
* configs : Drop "output/filetype"; only support FITSAaron LI2017-05-171-5/+0
|
* galactic/snr.py: Small cleanup; Update default resolutionAaron LI2016-12-131-2/+3
|
* galactic/snr.py: Use HEALPix pixel area if object smaller than itAaron LI2016-12-131-1/+5
|
* galactic/snr.py: Update to use "Fnu_to_Tb_fast()"; some cleanupsAaron LI2016-12-131-18/+19
|
* galactic/snr.py: Change a logging levelAaron LI2016-11-211-1/+2
|
* Update "simulate_frequency()" to also return the output file pathAaron LI2016-11-211-5/+20
| | | | | * 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/+4
| | | | | Also add a warning log message for "galactic/snr.py" and "extragalactic/clusters.py".
* galactic/snr.py: Fix wrong astropy quantity operationAaron LI2016-10-221-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 docstringAaron LI2016-10-221-5/+12
|
* galctic/snr.py: Add "preprocess()" and "postprocess()" methodsAaron LI2016-10-181-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 ouputAaron LI2016-10-171-1/+1
|
* galactic/snr.py: Create dir if necessary and adhere clobber configAaron LI2016-10-171-0/+11
|
* galactic/snr.py: Fix various issues, and works almost OK.Aaron LI2016-10-171-7/+22
| | | | Barely test and seems OK.
* galactic/snr.py: Implemented missing but necessary functionalitiesAaron LI2016-10-171-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 remnantsAaron LI2016-10-171-0/+255
NOTE: very preliminary, and missing many necessary functions!