aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 0.6.1v0.6.1Aaron LI2017-09-261-1/+1
| | | | | | Component "extragalactic/clusters" is tuned and tested to work. Start working on radio relics from galaxy clusters.
* utils/units.py: Add eV and keV to temperature conversionsAaron LI2017-09-261-0/+3
|
* clusters/emission: Assume electron pitch angle be pi/2Aaron LI2017-09-201-23/+17
| | | | And some cleanup and small changes
* clusters/emission: Rewrite synchrotron kernel functionAaron LI2017-09-201-9/+38
| | | | | | | | | | | Add asymptotic functions to calculate the values beyond the interpolation bounds (e.g., <1e-3 and >10), otherwise, the calculated synchrotron emissivity is overestimated at the higher frequencies. By rewrite this synchrotron kernel function, the calculated results is consistent with the theoretical/analytical results, e.g., the synchrotron radiation of a population of electrons of power-law index n is also a power-law with index (n-1)/2.
* clusters: Add option "use_output_catalog" to continue halo simulationAaron LI2017-09-033-4/+36
|
* configs: Update option descriptions; also tweak checkers a bitAaron LI2017-09-032-7/+12
|
* utils/io.py: Add function "csv_to_dataframe()" to support CSV commentsAaron LI2017-09-031-2/+35
|
* clusters: Add config option "boost"Aaron LI2017-09-012-2/+10
| | | | | | | NOTE: The cluster number (especially the bright ones) may be rather small within a sky patch. This ``boost`` config option increase the expected cluster number by a specified times, for better testing purpose.
* configs/logging: print time only, without dateAaron LI2017-09-011-1/+1
|
* Update time cost report; Also fix a variable name errorAaron LI2017-09-011-4/+4
|
* Update "Fnu_to_Tb_fast()" to "Fnu_to_Tb()"Aaron LI2017-09-017-11/+11
|
* utils/convert.py: Remove the slow, astropy.units based functionsAaron LI2017-09-011-64/+24
|
* utils/draw.py: Replace "ellipse()" with the `skiimage' versionAaron LI2017-08-311-27/+96
| | | | | | | Also do not use Numba JIT here. Credit: scikit-image - skimage/draw/draw.py https://github.com/scikit-image/scikit-image/blob/master/skimage/draw/draw.py
* configs: Update clusters simulation parametersAaron LI2017-08-311-4/+4
| | | | | | | Carried many simulation tests to determine the best parameters, by comparing with the integrated counts distribution (i.e., halo luminosity function) reported in previous works (Cassano2006, Cassano2012, and Ensslin2002).
* utils: Add analyze.py with function "countsdist_integrate()"Aaron LI2017-08-301-0/+66
|
* clusters/psformalism: Remove config "f_darkmatter"Aaron LI2017-08-293-6/+12
| | | | Use "1 - baryon_fraction = 1 - Ob0/Om0" to replace "f_darkmatter".
* configs: Fix checker for "extragalactic/clusters" sectionAaron LI2017-08-291-1/+1
|
* convert.py: do not use Numba JITAaron LI2017-08-291-14/+8
|
* configs: update "frequencies" property to be a numpy arrayAaron LI2017-08-281-6/+7
|
* Bump version to 0.6.0, prepare for a new releasev0.6.0Aaron LI2017-08-271-5/+5
| | | | | | | Since last release (0.4.2), too many things have changed ... so skip 0.5.x to emphasis the big update ... Also update the URL to the GitHub one.
* configs: Update default values of some optionsAaron LI2017-08-272-7/+9
|
* configs: Use "utf-8" encoding to allow unicode in config filesAaron LI2017-08-271-6/+11
|
* freefree.py: Fix bug: "comp" -> "compID"Aaron LI2017-08-271-1/+1
|
* configs: Delete obsolete checks on "{halphamap,dustmap}_unit"Aaron LI2017-08-271-4/+0
|
* configs: synchrotron: default to not add smallscalesAaron LI2017-08-271-3/+5
|
* freefree.py: Remove units of "halphamap" and "dustmap"Aaron LI2017-08-272-19/+4
|
* clusters/halo.py: Update injection rate calculationAaron LI2017-08-261-10/+5
| | | | | The electrons are assumed to be injected throughout the whole cluster ICM/volume.
* configs: Import ConfigManager by defaultAaron LI2017-08-261-1/+1
|
* Update logging messages; also remove creator __name__Aaron LI2017-08-261-0/+1
| | | | | This script is invoked on the CLI, and will have __name__ of __main__
* sky.py: Replace @header.setter with method "merge_header()"Aaron LI2017-08-261-12/+4
| | | | | * Avoid the duplicate "@header.setter" in the inherited classes * Update get-healpix-patch
* configs: Clean up unused options; clean up checkers as wellAaron LI2017-08-263-8/+4
|
* sky.py: Allow to set "header"; add "add_history()"Aaron LI2017-08-261-0/+23
| | | | XXX: how to avoid the duplicate @header.setter???
* foregrounds.py: Simulate components one by one; Add timersAaron LI2017-08-261-47/+58
|
* Return the list of filepath to the written sky filesAaron LI2017-08-264-3/+34
|
* snr.py: Update to use "sky" moduleAaron LI2017-08-261-114/+39
| | | | XXX: significant cleanups required, to make `SkyPatch` works!
* freefree.py: Update to use "sky" module; cleanupsAaron LI2017-08-261-104/+59
|
* synchrotron.py: Update to use "sky" module; significant cleanupsAaron LI2017-08-261-111/+69
|
* clusters/main.py: Update sky header; update comments etc.Aaron LI2017-08-261-5/+7
|
* configs: Remove unused option "unit", and minor cleanupsAaron LI2017-08-261-9/+4
|
* configs: Remove option "save"; all enabled components will be savedAaron LI2017-08-265-20/+4
|
* sky.py: Add more numeric special methodsAaron LI2017-08-261-0/+52
|
* config: Change "output/use_float" to "output/float32"Aaron LI2017-08-262-3/+3
|
* foregrounds.py: Remove foreground components combinationAaron LI2017-08-263-131/+19
| | | | | * Remove output configs "combine", "combine_prefix", "output_dir" * Remove configuration checker "check_output"
* sky.py: Rename load() -> open(), read() -> load()Aaron LI2017-08-263-24/+30
|
* galactic/synchrotron.py: Take absolute value on spectral indexAaron LI2017-08-231-1/+2
|
* clusters/halo.py: Rewrite electron acceleration coefficient calcAaron LI2017-08-143-28/+56
| | | | | | | | | | * Adopt the electron acceleration coefficient formula from [cassano2005] * Rename method "_tau_acceleration()" to "_chi_acceleration()", and rewrite * Add property "kT_merger" * Also save "kT_merger" and "chi" into halos data Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Use OrderedDict to easy keys manipulationAaron LI2017-08-141-29/+31
| | | | | | | Also avoid forgetting to add the newly added item for DataFrame conversion. Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/halo.py: Simplify two coefficients usageAaron LI2017-08-141-7/+5
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters: Rename property "injection_rate" and save into halos dataAaron LI2017-08-142-37/+38
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* Use "GalaxyClusters" from main.py, and remove clusters.pyAaron LI2017-08-143-735/+3
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>