aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* clusters/formation: Implement history() methodAaron LI2019-01-291-16/+36
| | | | | | | Compared to the original mergers() method, this method extracts all formation history (i.e., both mergers and accretions). The mergers() method is now simply wraps on the history() method.
* clusters/mergertree: Tweak format of show_mtree() a bitAaron LI2019-01-281-3/+3
|
* clusters/megertree: Minor cleanupsAaron LI2019-01-281-7/+9
|
* clusters/halo: Do not rescale density in _adjust_spectrum()Aaron LI2019-01-281-5/+0
| | | | | | Since there is continuous electron injection, the electron density may keep increasing. Therefore, it's bad to rescale the density to match the beginning value.
* configs/manager: Minor cleanupsAaron LI2019-01-281-23/+15
|
* clusters/main: Minor cleanupsAaron LI2019-01-281-11/+11
|
* clusters/main: Fix column names due to previous renamingAaron LI2019-01-281-3/+2
|
* clusters/main: Fix calling of magnetic_field() and kT_cluster()Aaron LI2019-01-281-3/+9
|
* utils/analyze: Add logfit()Aaron LI2019-01-281-2/+27
| | | | This function helps fit the index of a scaling relation.
* clusters/main: Update spectrum fields and factor_acc calculationAaron LI2019-01-281-3/+5
|
* clusters/halo: calc_acc_factor() accepts the fiducial spectrumAaron LI2019-01-281-3/+7
|
* clusters/halo: Fix minor errors along the refactoringAaron LI2019-01-271-5/+4
|
* configs/spec: Tweak gamma_max and gamma_npAaron LI2019-01-271-3/+3
|
* clusters/halo: Tweak radius_turb() calculationAaron LI2019-01-271-4/+3
|
* clusters/main: Calculate acceleration factorAaron LI2019-01-271-0/+2
|
* clusters/halo: Rewrite is_genuine() to be calc_acc_factor()Aaron LI2019-01-272-23/+10
| | | | | | | Calculate the bolometric emissivity instead of the emissivity at a certain frequency. This should capture the acceleration effect more effectively. In addition, remove the now obsolete config options "fiducial_freq" and "fiducial_factor".
* clusters/emission: Add calc_emissivity_bolo()Aaron LI2019-01-271-6/+33
|
* clusters/halo: Delete the RadioHalo wrapper classAaron LI2019-01-271-92/+0
|
* clusters/halo: Implement calc_electron_spectrum() for multiple mergersAaron LI2019-01-271-0/+118
| | | | | | | For a cluster with multiple mergers, each merger has a different turbulence radius, so the accelerated spectrum needs appropriate adjustment to take the (may be significant) variation of turbulence radius into account.
* clusters/helper: Add simple density_number_electron()Aaron LI2019-01-271-0/+8
|
* clusters/halo: Implement radius_turb_eff() methodAaron LI2019-01-271-0/+27
|
* clusters/halo: Add 'radius_turb_max' propertyAaron LI2019-01-271-2/+10
|
* clusters/halo: Tweak {duration,velocity}_turb()Aaron LI2019-01-261-8/+7
|
* clusters/main: Adjust against halo radiusAaron LI2019-01-261-4/+3
|
* 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/main: Replace "age" with "t" (time)Aaron LI2019-01-261-6/+6
|
* 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-262-54/+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-262-11/+10
|
* configs/spec: Various minor tweaksAaron LI2019-01-251-31/+32
|
* 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-252-0/+22
| | | | Add configuration option "mass_index" to specify the scaling index.
* clusters/halo: Fold parameter "zeta_ins" into "f_acc"Aaron LI2019-01-252-10/+5
|
* clusters/halo: Clean up tau_acceleration() methodAaron LI2019-01-251-14/+13
|
* clusters: Assume equipartition between B field and CRAaron LI2019-01-253-16/+18
| | | | | | 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: Add plasma_beta() functionAaron LI2019-01-231-0/+26
|
* clusters/helper: Do not pass the whole configs to functionsAaron LI2019-01-232-14/+40
|
* clusters/helper: Fix a variable error in density_gas()Aaron LI2019-01-221-1/+1
|
* clusters/helper: Add radius_overdensity() functionAaron LI2019-01-211-4/+29
| | | | e.g., to calculate R200, R500.
* clusters/helper: Improve density_energy_electron() calculationAaron LI2019-01-211-4/+4
|