aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters/halo.py
Commit message (Collapse)AuthorAgeFilesLines
* clusters/halo: Reimplement the 'radius' propertyAaron LI2019-01-261-6/+11
|
* clusters/halo: Reorder radius_{strip,turb}()Aaron LI2019-01-261-35/+35
| | | | | Rename radius_stripping() to radius_strip() and radius_turbulence() to radius_turb().
* clusters/halo: Clean up mass_main() methodAaron LI2019-01-261-12/+3
|
* clusters/halo: Rewrite _merger_time() to get the effective mergerAaron LI2019-01-261-8/+24
| | | | | If the acceleration durations of multiple mergers overlap, the one with the largest efficiency (i.e., smallest tau_acc) is chosen.
* clusters/halo: Replace "age" with "t" (time)Aaron LI2019-01-261-31/+31
|
* clusters/halo: Fold _merger_idx() into _merger_event()Aaron LI2019-01-261-18/+11
| | | | Update _merger_time() accordingly.
* clusters/halo: Move and rename _velocity_turb() to _velocity_turb()Aaron LI2019-01-261-57/+57
|
* clusters/halo: Rename _merger() to _merger_event()Aaron LI2019-01-261-4/+4
|
* clusters/halo: Remove *_avg and *_fraction methodsAaron LI2019-01-261-50/+0
|
* clusters/halo: Use t_merger for duration_turb() and mach_turb()Aaron LI2019-01-261-4/+6
| | | | Rename mach_turbulence() to mach_turb().
* clusters/halo: Simplify tau_acceleration() methodAaron LI2019-01-261-45/+14
| | | | Move the turbulence activity check into the fp_diffusion() method.
* clusters/halo: Some cleanupsAaron LI2019-01-261-28/+15
|
* clusters/halo: Use t_merger to be more explicitAaron LI2019-01-261-13/+25
| | | | | Add _validate_t_merger() method to validate the given time to be an merger time.
* clusters/halo: Rename time_turbulence() to duration_turb()Aaron LI2019-01-261-10/+9
|
* clusters/halo: Fold _rho_gas_f() into _velocity_turb()Aaron LI2019-01-251-20/+8
|
* clusters/halo: Account for mass scaling in tau_acceleration()Aaron LI2019-01-251-0/+18
| | | | Add configuration option "mass_index" to specify the scaling index.
* clusters/halo: Fold parameter "zeta_ins" into "f_acc"Aaron LI2019-01-251-3/+2
|
* clusters/halo: Clean up tau_acceleration() methodAaron LI2019-01-251-14/+13
|
* clusters: Assume equipartition between B field and CRAaron LI2019-01-251-1/+1
| | | | | | Equipartition between the magnetic fields and cosmic rays is assumed, i.e., eta_b == x_cr. Therefore remove "extragalactic/clusters/eta_b" configuration option.
* clusters/helper: Do not pass the whole configs to functionsAaron LI2019-01-231-3/+8
|
* clusters/halo: Minor cleanupAaron LI2019-01-191-4/+1
|
* clusters/halo: Update turbulence velocity dispersion calcuationAaron LI2019-01-181-7/+6
|
* clusters/halo: Update time_turbulence() calculationAaron LI2019-01-181-8/+9
|
* clusters/helper: Pass beta to helper.radius_stripping()Aaron LI2019-01-181-2/+3
| | | | | * Add 'beta' parameter to radius_stripping() * Pass 'f_rc' and 'beta' to calc_gas_density_profile()
* Minor tweaksAaron LI2019-01-181-2/+3
|
* clusters/halo: Update the estimation of radius_turbulence()Aaron LI2019-01-171-4/+8
| | | | | The radius_turbulence is estimated as the stripping radius (r_s) if r_s is larger than the core radius (r_c) of the main cluster, otherwise, r_c.
* clusters/halo: Refactor calc_radius_turb()Aaron LI2019-01-111-14/+37
| | | | | Keep all the calculated properties that can be used to tweak the parameters or to help debug.
* clusters/halo: Implement calc_radius_turb()Aaron LI2019-01-111-0/+36
| | | | | Determine the effective radius of the turbulence region along the whole merging process (i.e., multiple merger events).
* clusters/halo: Add new "RadioHalo" to wrap over RadioHaloAMAaron LI2019-01-101-0/+33
|
* clusters/halo: Renamed "RadioHalo" to "RadioHalo1M"Aaron LI2019-01-101-3/+4
|
* clusters/halo: Rewrite is_geniune() methodAaron LI2019-01-101-0/+30
|
* Bump copyright yearAaron LI2019-01-101-1/+1
|
* clusters/halo: Change radius attribute to calc_radius()Aaron LI2019-01-101-20/+1
| | | | Meanwhile remove the angular_radius and volume attributes.
* clusters/halo: Remove is_geniune()Aaron LI2019-01-101-32/+0
| | | | The similar functionality will be implemented in another wrapper class.
* clusters/main: Add _calc_cluster_info()Aaron LI2019-01-101-29/+0
| | | | Move the calculation of Rvir, kT, and B from halo.py to main.py.
* clusters/halo: Set fixed radius for RadioHaloAMAaron LI2018-12-231-2/+14
| | | | | | | Since the halo radius is related to the turbulence injection region size which is further related to the stripping radius, it varies along the cluster growth as mergers happen. Therefore, the finally radio halo radius is determined otherwise and just specified here.
* clusters/halo: Minor tweaksAaron LI2018-12-221-12/+10
|
* clusters/halo: Update is_genuine() to return flux factor alsoAaron LI2018-12-221-1/+5
|
* clusters/halo: Fix kT() calculationAaron LI2018-11-081-3/+2
|
* clusters/halo: Fix radius_turbulence() calculationAaron LI2018-11-081-2/+2
|
* clusters/halo: Adopt new method for _velocity_turb()Aaron LI2018-11-081-15/+24
| | | | | | | | | | Adopt a new method to calculate the turbulence velocity dispersion. First, the kinetic energy released by the merger is estimated as the work done by the in-falling sub-cluster crossing the main cluster. Second, a fraction of the kinetic energy is assumed to be transferred into the turbulence. The turbulence mass is calculated as the gas mass enclosed within the turbulence region. Finally, the turbulence velocity dispersion is derived.
* clusters/halo: Add radius_stripping() methodAaron LI2018-11-081-3/+13
|
* clusters/halo: Apply option 'f_radius' to derive halo radiusAaron LI2018-11-081-2/+2
| | | | The config option 'f_radius' is renamed from the old 'f_lturb'.
* clusters/halo: New formula for radius_turbulence()Aaron LI2018-11-081-6/+12
| | | | | | | | Calculate the radius of the turbulence region as the mean of the stripping radius of the in-falling sub-cluster and the core radius of the main cluster. Also make the 't' parameter mandatory.
* clusters/halo: Add and use 'f_rc' and 'beta' optionsAaron LI2018-11-081-1/+4
|
* clusters/halo: Fix time argument in _velocity_turb()Aaron LI2018-11-021-5/+4
|
* clusters/halo: Improve cluster temperature calculationAaron LI2018-11-011-8/+6
|
* clusters/halo: Support to check whether halo is genuineAaron LI2018-11-011-0/+33
| | | | | | | Add the 'is_genuine()' method to check whether the radio halo is genuine by comparing the flux density to the fiducial value. Two new configuration options (fiducial_freq and fiducial_factor) are added to specify the frequency and limit whether the radio halo is regarded as genuine.
* clusters/halo: Fix the 'lru_cache' usageAaron LI2018-10-311-2/+2
|
* clusters/halo: Support to calculate the fiducial electron spectrumAaron LI2018-10-311-7/+20
| | | | | | | The fiducial electron spectrum is the one that is derived with the turbulent acceleration turned off. It can be used to determine whether the acceleration is indeed effective for one cluster and then further determine whether the radio halo is formed/observable.