aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/configs
Commit message (Collapse)AuthorAgeFilesLines
* configs: Add parameter "reset" to "read_userconfig()"Aaron LI2017-10-241-12/+20
|
* configs: add __getitem__() and __setitem__() methodsAaron LI2017-10-241-1/+8
|
* clusters/halo: Add "use_max_merger" option to allow use max merger eventsAaron LI2017-10-221-4/+10
|
* clusters/halo: Add option "kT_out" to tune cluster temperatureAaron LI2017-10-221-0/+9
|
* configs: Update option descriptionAaron LI2017-10-211-4/+5
|
* clusters/halo: Rewrite turbulence acceleration & diffusion coefficient!Aaron LI2017-10-211-2/+12
| | | | | | | | | | | | The previous calculation of the turbulence acceleration efficiency has significant problems, which is too low, i.e., the acceleration timescale is too large (~10 Gyr). However, it is reported that turbulent acceleration has a timescale ~100 Myr (0.1 Gyr). I believe this problem is due to the over-simplification to the formula proposed by [cassano2005]. Rewrite the turbulence acceleration and diffusion coefficient calculations, adopting the method proposed by [brunetti2016]. To this end, two new options "f_lturb" and "f_acc" are introduced to tune the results.
* clusters/halo: Determine magnetic field by fraction of its energy densityAaron LI2017-10-201-8/+4
| | | | | | | | | | * Rewrite "magnetic_field()" function to calculate the mean magnetic field strength within ICM according its energy density fraction w.r.t. the ICM thermal energy density. * Remove config options "b_mean" and "b_index", which are replaced with the option "eta_b", the assumed magnetic energy density fraction w.r.t. the ICM thermal energy density.
* clusters: Update configuration defaults and descriptionAaron LI2017-10-191-12/+12
|
* clusters/halo: Support use the previously dumped halos raw dataAaron LI2017-10-192-0/+15
| | | | | | Add option "use_dump_halos_data" to control whether to just use the previously dumped halos data, therefore, the radio emissions at additional frequencies can be simply calculated.
* clusters/halo: Rewrite halos catalog and raw data saveAaron LI2017-10-191-3/+11
| | | | | Replace option "halos_dumpfile" with "halos_catalog_outfile", and use option "dump_halos_data" to control whether to dump the raw data.
* clusters: "catalog_outfile" is requiredAaron LI2017-10-191-0/+2
|
* clusters/halo: Increase the time step, but require a minimum of 20 stepsAaron LI2017-10-181-1/+1
|
* configs: remove "filemode" optionAaron LI2017-10-162-6/+2
|
* 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>