aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/configs
Commit message (Collapse)AuthorAgeFilesLines
...
* clusters: Use "hmf" to calculate halo mass functions/distributionsAaron LI2017-10-042-13/+46
| | | | | | | | | | | | * New dependency "hmf" (halo mass functions) module * Calculate halo mass distributions/functions (dndlnm) with respect to masses and redshifts, instead of use the previous data file ("ps_data") * New section "[extragalactic][psformalism]" in configurations * New functions to write and read the dndlnm data TODO: * update the method to sample (mass, redshift) for clusters from the dndlnm data
* configs/manager.py: Add missing cosmology parametersAaron LI2017-10-041-0/+2
|
* utils/cosmology.py: Add parameter Tcmb0 [K]Aaron LI2017-10-041-2/+4
|
* configs: Use lower case for logging levelsAaron LI2017-10-042-14/+8
|
* utils/cosmology: Add scalar spectral index "ns"Aaron LI2017-10-041-0/+2
|
* configs: Clean up some commentsAaron LI2017-10-032-14/+0
|
* clusters: Add option "use_output_catalog" to continue halo simulationAaron LI2017-09-032-0/+17
|
* configs: Update option descriptions; also tweak checkers a bitAaron LI2017-09-032-7/+12
|
* clusters: Add config option "boost"Aaron LI2017-09-011-0/+5
| | | | | | | 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
|
* 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).
* clusters/psformalism: Remove config "f_darkmatter"Aaron LI2017-08-291-3/+0
| | | | Use "1 - baryon_fraction = 1 - Ob0/Om0" to replace "f_darkmatter".
* configs: Fix checker for "extragalactic/clusters" sectionAaron LI2017-08-291-1/+1
|
* configs: update "frequencies" property to be a numpy arrayAaron LI2017-08-281-6/+7
|
* 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
|
* 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-271-6/+4
|
* configs: Import ConfigManager by defaultAaron LI2017-08-261-1/+1
|
* configs: Clean up unused options; clean up checkers as wellAaron LI2017-08-263-8/+4
|
* 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-263-18/+4
|
* config: Change "output/use_float" to "output/float32"Aaron LI2017-08-261-2/+2
|
* foregrounds.py: Remove foreground components combinationAaron LI2017-08-262-21/+3
| | | | | * Remove output configs "combine", "combine_prefix", "output_dir" * Remove configuration checker "check_output"
* clusters/halo.py: Rewrite electron acceleration coefficient calcAaron LI2017-08-141-2/+3
| | | | | | | | | | * 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>
* Use "GalaxyClusters" from main.py, and remove clusters.pyAaron LI2017-08-141-1/+1
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* configs: Clean up importsAaron LI2017-08-011-2/+1
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* configs: Default logging to INFO; remove a obsolete config optionAaron LI2017-08-012-6/+1
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters: Add config "halos_dumpfile" and dump simulate halos dataAaron LI2017-08-011-0/+4
|
* clusters: Add psformalism.py to simulate cluster catalogAaron LI2017-07-311-2/+11
| | | | | | Also updated configuration options. Signed-off-by: Aaron LI <aly@aaronly.me>
* Add `fg21sim.share` module to hold globally shared "CONFIGS" & "COSMO"Aaron LI2017-07-311-2/+0
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* galactic/freefree: Add "dust_fraction" and "halpha_abs_th" configsAaron LI2017-07-291-0/+12
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* galactic/freefree: Add config "electron_temperature"Aaron LI2017-07-291-0/+5
| | | | | | Update method "_calc_ratio_a()" to "_calc_factor_a()" Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/configs: Update "beta_turb" default to 1.0Aaron LI2017-07-271-1/+1
| | | | | | | This makes the simulation agree better with observations, e.g., <Jsyn> ~ 1e-42 [erg/s/cm^3/Hz] Signed-off-by: Aaron LI <aly@aaronly.me>
* configs: Update [[halos]] sections a bitAaron LI2017-07-251-5/+6
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/halo: Change config "eta_turb" to "beta_turb"Aaron LI2017-07-251-3/+2
| | | | | | | | | | This configuration option "beta_turb" has different meaning as "eta_turb" in [Cassano & Brunetti 2005], though they can both be an indicator for the turbulence acceleration efficiency. Rename this configuration option to make the difference more clear. Signed-off-by: Aaron LI <aly@aaronly.me>
* Use all uppercase to identify the global CONFIGS and COSMOAaron LI2017-07-221-2/+2
| | | | | | Update to use the global CONFIGS and COSMO Signed-off-by: Aaron LI <aly@aaronly.me>
* configs/manager.py: Add formatter for handlersAaron LI2017-07-221-1/+8
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* configs: Update cosmology parameters (Komatsu et al. 2011)Aaron LI2017-07-221-1/+2
| | | | | | References: Komatsu et al. 2011, ApJS, 192, 18; Tab.(1) Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/halo.py: More cleanups with minor updatesAaron LI2017-07-221-0/+1
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Add property "halo_configs"Aaron LI2017-07-221-27/+13
| | | | | | And update the config specification accordingly with some cleanups. Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Add "_magnetic_field()" methodAaron LI2017-07-211-8/+7
| | | | | | Also update the configurations Signed-off-by: Aaron LI <aly@aaronly.me>
* Fix parameter names about cosmologyAaron LI2017-07-211-2/+2
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* checkers.py: Drop resolution check to avoid circular importing errorAaron LI2017-07-211-7/+0
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* configs: Default to not generate products manifestAaron LI2017-07-211-2/+4
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* configs/manager.py: Add property "cosmology"Aaron LI2017-07-211-0/+15
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* configs/manager.py: get_path() return None if value is an empty stringAaron LI2017-07-211-2/+5
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Implement "_simulate_merger()"Aaron LI2017-07-201-9/+19
| | | | | | | | | | Simulate the formation history of each cluster and identify the last/recent major merger event. Also add new configuration option "tau_merger" and tweak several configurations options. Signed-off-by: Aaron LI <aly@aaronly.me>
* configs: Update default valuesAaron LI2017-07-192-12/+8
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>