aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/configs/20-extragalactic.conf.spec
Commit message (Collapse)AuthorAgeFilesLines
* configs: two small changes; set time_step default to 0.01Aaron LI2017-10-251-4/+5
|
* clusters/halo: Add method to derive the initial electron spectrumAaron LI2017-10-251-0/+5
| | | | | Also add the option "time_init" to control how long a period is used to derive the initial electron spectrum.
* 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-191-0/+7
| | | | | | 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/halo: Increase the time step, but require a minimum of 20 stepsAaron LI2017-10-181-1/+1
|
* clusters: Use "hmf" to calculate halo mass functions/distributionsAaron LI2017-10-041-11/+41
| | | | | | | | | | | | * 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: Clean up some commentsAaron LI2017-10-031-5/+0
|
* clusters: Add option "use_output_catalog" to continue halo simulationAaron LI2017-09-031-0/+14
|
* configs: Update option descriptions; also tweak checkers a bitAaron LI2017-09-031-1/+10
|
* 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: 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: Update default values of some optionsAaron LI2017-08-271-1/+1
|
* configs: Remove option "save"; all enabled components will be savedAaron LI2017-08-261-4/+0
|
* 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: Default logging to INFO; remove a obsolete config optionAaron LI2017-08-011-5/+0
| | | | 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>
* 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>
* 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>
* 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-191-7/+2
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* Use [arcsec] as the unit for pixel size and resolutionAaron LI2017-07-191-3/+8
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* halo.py: Add property "zgrid" as well as config option "zbinsize"Aaron LI2017-06-241-1/+3
|
* halo.py: calculate magnetic field using a scaling relationAaron LI2017-06-231-3/+7
|
* configs: extragalactic/halos: change "radius_halo" to "radius"Aaron LI2017-06-011-5/+4
|
* fg21sim/clusters: Save progress on halo simulationAaron LI2017-06-011-1/+1
|
* Add clusters/formation.py: Simulate cluster merging historyAaron LI2017-06-011-0/+4
|
* halo.py: Force a minimal value on acceleration coefficientAaron LI2017-06-011-1/+1
| | | | | | | To avoid the too small (or zero) values for the diffusion coefficient of the Fokker-Planck equation. Also change config "extragalactic/halo/pmax" from 1e4 to 1e5
* clusters/halo: Add missing config "buffer_np"Aaron LI2017-06-011-0/+5
|
* Add "[extragalactic/halos]" configurationsAaron LI2017-06-011-0/+44
|
* configs: Add parameters "min" and "max" to float-type optionsAaron LI2016-11-071-3/+3
|
* extragalactic/pointsource (#3)Jason Ma2016-10-271-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge PR#3: Add new simulation component "extragalactic/pointsources", including SF, SB, RQ, FRI and FRII. * extragalactic/pointsource: add point source simulation module * extracgalactic/pointsource: add point source simulation module * Add configurating spec to extragalgactic point sources. * Modified some variables * base.py: modified * flux.py: modified * fr1.py: modified * fr2.py: modified * pointsources.py: modified * psparams.py: modified * radioquiet.py: modified * starforming.py: modified * starbursting.py: modified * Rewritten the comments. * base.py: modified * flux.py: modified * fr1.py: modified * fr2.py: modified * Modified * psparams.py: modified * radioquiet.py: modified * starforming.py: modified * starbursting.py: modified * Modified * Modified * Modified * Modified * Modified * MOdified * Modified * Modified * Modified * Modified * Modified * Modified * Modified * Modified * Modified * Changed pointsource to pointsources * Fixed some config keywords * Fixed some config keywords * Fixed some config keywords * Fixed some config keywords * Fixed some config keywords * Fixed some config keywords * Fixed some config keywords * base.py:rewrited * fr1.py:rewritten * pointsources.py: rewritten * radioquiet.py: rewritten * Rewritten * Rewritten * base.py: modified * fr1.py: modified * fr2.py: modified * radioquiet.py: modified * starbursting.py: modified * starforming.py: modified * Fix conflicts * fg21sim: fixed conflicts * base.py: modified frequencies loading in _get_configs() * Rewritten as forground.py * fg21sim: fixed conflicts * base.py: deteled loading for frequencies configurations. * fr1.py: modified * fr2.py: modified * pointsources.py: modified * radioquiet.py: modified * starbursting.py: modified * starforming.py: modified * Add new methods to calculate Tb. * Add new methods to calculate Tb. * Add new methods to calculate Tb. * Add new methods to calculate Tb. * Add new methods to calculate Tb. * Add new methods to calculate Tb. * Deleted useless comments. * Add pscomps to deal with multi-type PS problem. * Add a new key. * Fixed permission to 755. * Rejusted PS subsections. * Add methods to calcualte luminosity function and redshift distribution. * Rejusted generation of samples redshift and luminosity. * Fixed mistakes on FRII structure, added hotspots and offsets. * Reajusted generation of samples redshift and luminosity. * Readujsted generation of samples radii, redshifts and luminosity. * Readujsted generation of samples radii, redshifts and luminosity. * Fixed conflicts. * Fixed conficts. * Combined configurations of pointsources. * Removed the older extragalactic configuration file. * Fixed some mistakes. * Fixed mistakes of drawing PS. * Fixed mistakes of drawing PS. * Fixed code style by pep8 checking. * Fixed code style by pep8 checking. * Fixed code style by pep8 checking. * Fixed some coding style. * Reconfigured default redshift interval. * Reconfigured default redshift interval. * Reconfigured default redshift interval. * Fixed mistakes in method calc_single_Tb and changed resolution of grid. * Fixed mistakes in method calc_single_Tb and changed resolution of grid. * Deleted astropy.units style code to accelerate. * Deleted astropy.units style code to accelerate. * Deleted astropy.units style code to accelerate. * Deleted astropy.units style code to accelerate. * Deleted astropy.units style code to accelerate. * Deleted astropy.units style code to accelerate. * Deleted astropy.units style code to accelerate. * Fixed some mistakes. * Fixed some mistakes. * Changed dA from au.Mpc to float64. * Fixed some mistakes. * Fixed some mistakes. * Fixed some mistakes. * Reajusted grid resolution to generate discs. * Reajusted grid resolution to generate discs. * Reajusted loading strategy of parameter resolution. * Reajusted code style of configuration loading. * Reajusted code style of configuration loading. * Reajusted code style of configuration loading. * Reajusted code style of configuration loading. * Reajusted code style of configuration loading.
* Support new simulation component: extragalactic/clustersAaron LI2016-10-221-0/+41
Support simulate the radio emission from clusters of galaxies. Currently only the radio halos is considered, while the radio relics need more investigations. Also, this simulation requires a cluster catalog derived from the Hubble Volume Project simulation. NOTE: not tested at the moment