| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* Rvir0, Rvir_main, Rvir_sub
* kT_main, kT_sub (replace kT_merger)
* radius -> Rhalo, angular_radius -> Rhalo_angular, B -> B0
|
| |
|
|
|
|
| |
Also add "gamma" the adiabatic index of ideal gas to utils/units.py
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The "template" item should be removed before convert the halos data into a
Pandas DataFrame to be saved.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Replace option "halos_dumpfile" with "halos_catalog_outfile", and use
option "dump_halos_data" to control whether to dump the raw data.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
The simulated radio halo is assumed to have a radius of the falling
sub-cluster; while previously it is assumed to be 1/4 of the virial radius of
the merged cluster.
The new estimation can agree better with the currently observed radio halos,
which generally have a angular diameter size of ~2-7 [arcmin].
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The FokkerPlanckSolver is validated with all the 3 test cases!
References:
* Park & Petrosian 1996, ApJS, 103, 255
* Donnert & Brunetti 2014, MNRAS, 443, 3564
|
|
|
|
| |
Also suggest that ``buffer_np`` be specified to 5%-10% of ``x_np``.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Also update clusters/main.py to calculate the halo mass distributions before
sampling the mass and redshifts for clusters.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
| |
And some cleanup and small changes
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Use "1 - baryon_fraction = 1 - Ob0/Om0" to replace "f_darkmatter".
|
|
|
|
|
| |
The electrons are assumed to be injected throughout the whole cluster
ICM/volume.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
| |
Also avoid forgetting to add the newly added item for DataFrame
conversion.
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
| |
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
| |
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
| |
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
|
|
|
|
|
| |
* Brought back "clobber" property
* Delete the wrong "self.halos=[]"
* Fix the wrong assignment of "cimax0"
* Assign default values for {c,r}i{min,max}1
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
| |
Signed-off-by: Aaron LI <aly@aaronly.me>
|