aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters/halo.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* clusters/halo: Simplify calc_electron_spectrum()Aaron LI2018-10-311-49/+6
| | | | | | | | Get rid of the 'electron_spec' property and the set_electron_spectrum() function. Simplify the calc_electron_spectrum() by removing the step adjustment. Other minor cleanups.
* clusters/halo: Rework the way to disable turbulent accelerationAaron LI2018-10-311-16/+13
| | | | | | Introduce a new property '_acceleration_disabled' to control whether the turbulent acceleration is disabled. With this new property, improve the code to derive the initial electron spectrum.
* clusters/halo: Use _is_turb_active() in fp_advection()Aaron LI2018-10-311-14/+6
| | | | Some other minor cleanups.
* clusters/halo: Add time argument to radius_turbulence()Aaron LI2018-10-311-10/+8
|
* clusters/halo: Add time argument to _velocity_turb()Aaron LI2018-10-311-10/+10
|
* clusters/halo: Add time argument to _gas_density_profile_t()Aaron LI2018-10-311-4/+6
|
* clusters/halo: Rename 'injection_radius' to 'radius_turbulence'Aaron LI2018-10-301-16/+16
|
* clusters/halo: Update time_turbulence() calculationAaron LI2018-10-301-5/+10
|
* clusters/halo: Update turbulence velocity calculationAaron LI2018-10-301-26/+40
| | | | | | | | Adopt the same beta-model for the gas density profile to calculate the gas/baryon mass within the turbulence region (<R_turb). Meanwhile, change the '_velocity_turb()` method to a property without depending on the time, to further simplify the model a bit.
* clusters/halo: Update calculations of injection and halo radiusAaron LI2018-10-301-1/+13
|
* clusters/halo: Improve descriptions and commentsAaron LI2018-10-251-19/+15
|
* clusters/halo: Change _merger() to accept time to simplify its usageAaron LI2018-10-251-12/+12
|
* clusters/halo: Simplify the code a bitAaron LI2018-10-251-18/+8
|
* clusters/halo: Fix a wrong variable in a logging messageAaron LI2018-10-251-6/+4
|
* clusters/halo: most consistent turbulent acceleration and time calculationsAaron LI2018-01-211-2/+2
|
* clusters/halo: simplify energy loss calculationsAaron LI2018-01-211-27/+14
|
* clusters/halo: fix _is_turb_active() bool conditionAaron LI2018-01-061-2/+2
|
* clusters: small cleanupsAaron LI2018-01-051-8/+9
|
* clusters/halo: fix self.time_step errorAaron LI2018-01-051-4/+4
|
* clusters/halo: fix _merger_time() error when t < age_beginAaron LI2018-01-051-2/+7
|
* clusters/halo: calculate several time-averaged propertiesAaron LI2018-01-051-0/+54
| | | | | | | * time_turbulence_avg * mach_turbulence_avg * tau_acceleration_avg * time_acceleration_fraction
* clusters/halo: move tau_max and time dependence to tau_acceleration()Aaron LI2018-01-051-27/+27
|
* clusters/halo: add _is_turb_active(), update _velocity_turb() etc.Aaron LI2018-01-051-12/+29
|
* clusters/halo: update turbulence acceleration calc. with _merger_time()Aaron LI2018-01-051-28/+20
|
* clusters/halo: add _merger_time() and mass_sub() methodsAaron LI2018-01-051-0/+31
|
* clusters/halo: refactor tau_acceleration() to help RadioHaloAMAaron LI2018-01-041-24/+38
| | | | | Change "tau_acceleration" from a attribute to a method with the time parameter, and then simplify "fp_diffusion()" method.
* clusters/halo: Add preliminary RadioHaloAM based on RadioHaloAaron LI2018-01-041-0/+103
| | | | | The RadioHaloAM class is intended to account for all merger events, and there are a lot of methods to be implemented.
* clusters/halo: small updates and some cleanupsAaron LI2018-01-041-53/+40
|