aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim
Commit message (Collapse)AuthorAgeFilesLines
* clusters/halo: Change radius attribute to calc_radius()Aaron LI2019-01-101-20/+1
| | | | Meanwhile remove the angular_radius and volume attributes.
* clusters/main: Calculate DA and theta in _calc_cluster_info()Aaron LI2019-01-101-6/+13
| | | | | Calculate angular diameter distance and angular radius in _calc_cluster_info().
* 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-102-29/+23
| | | | Move the calculation of Rvir, kT, and B from halo.py to main.py.
* clusters/main: Minor cleanupsAaron LI2019-01-101-3/+3
|
* 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/main: Split out _simulate_halo1()Aaron LI2018-12-221-42/+56
|
* clusters/main: Update description/commentsAaron LI2018-12-221-16/+11
| | | | Tweak imports a bit.
* configs/manager: Tweak a bitAaron LI2018-12-221-5/+4
|
* PEP8 fixAaron LI2018-12-204-13/+15
|
* uvsim/telescope: Allow to specify positionAaron LI2018-12-111-4/+8
|
* 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-082-6/+5
| | | | 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-082-1/+11
|
* clusters/helper: Add f_rc and beta parameters to calc_gas_density_profile()Aaron LI2018-11-081-3/+11
|
* 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-012-0/+40
| | | | | | | 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
|
* PEP8 fixAaron LI2018-10-3110-26/+31
|
* configs/manager: Fix the loading of config specAaron LI2018-10-311-2/+1
|
* 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-302-28/+10
|
* clusters/helper: Remove the obsolete fmass_nfw()Aaron LI2018-10-301-26/+0
|
* 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-303-41/+17
|
* Deprecate the pointsource component (2)Aaron LI2018-10-302-51/+1
|
* Deprecate the pointsource componentAaron LI2018-10-301-4/+1
|
* configs: Merge config specs into one single fileAaron LI2018-10-304-263/+234
|
* clusters/help: Add radius_stripping()Aaron LI2018-10-261-6/+73
| | | | | This function calculates the stripping radius of the sub-cluster when it falling through the main cluster.
* utils/units: Add J2erg and erg2JAaron LI2018-10-261-0/+2
|
* clusters/halo: Improve descriptions and commentsAaron LI2018-10-252-20/+16
|
* 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/main: Minor improvementsAaron LI2018-10-241-13/+11
|
* Bump to version 0.7.2v0.7.2Aaron LI2018-07-101-3/+3
|