aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters/halo.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* clusters/halo: minor cleanupsAaron LI2018-01-031-14/+15
|
* clusters/halo: change "age_merger" to "age_begin"Aaron LI2018-01-031-23/+26
|
* clusters/halo: update radius_halo() calculationAaron LI2018-01-031-9/+1
|
* clusters/halo: delete radius_virial_{main,sub} and kT_sub propertiesAaron LI2018-01-031-17/+0
|
* clusters/halo: split emissivity/power/flux calculations into HaloEmissionAaron LI2018-01-031-174/+0
| | | | | Add emission.HaloEmission class to calculate halo emissivity, power, flux, brightness etc.
* clusters: simplify _set_configs()Aaron LI2018-01-021-17/+21
|
* clusters/halo: rewrite description; remove an obsolete referenceAaron LI2018-01-021-10/+11
|
* Improve descriptions and minor cleanupsAaron LI2018-01-011-3/+1
|
* clusters/halo: impose the maximum acceleration timescaleAaron LI2018-01-011-3/+9
|
* clusters/halo: improve turbulence velocity dispersion calculationAaron LI2018-01-011-9/+9
| | | | | | | Use the merged total mass instead of the main cluster mass only as the denominator to determine the turbulence velocity dispersion, which reduces the scatter and thus the acceleration results will be less sensitive to the (mostly unknown) merging turbulence properties.
* clusters/halo: Add back "mach_turbulence" attributeAaron LI2017-12-311-3/+14
|
* clusters/halo: Rework the turbulence acceleration timescale calculationAaron LI2017-12-311-47/+39
| | | | | | | | The new method adopted to determine the turbulence acceleration timescale follows [miniati2015] and [pinzke2017], in which the merger-induced turbulence cascades into small scales (and thus accelerate electrons) through the TTD (transit-time damping) mechanism by scattering mainly with the relativistic particles (cosmic-ray protons and electrons).
* clusters/halo: calc turbulence velocity dispersion based on mergerAaron LI2017-12-311-0/+38
| | | | | Also update the description of option "extragalactic/halos/eta_turb" and change its default value to 0.1
* Minor cleanupsAaron LI2017-12-311-3/+7
|
* clusters/halo: Estimate turbulence acceleration w.r.t. injection scaleAaron LI2017-12-301-15/+15
| | | | The turbulence injection scale ~ halo size