Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | clusters/halo: calc_acc_factor() no longer used | Aaron LI | 2019-02-27 | 1 | -38/+0 |
| | |||||
* | clusters/halo: Support merger-disabled calculation | Aaron LI | 2019-02-22 | 1 | -16/+20 |
| | | | | | | | | | | Change the 'is_end' parameter in tau_acceleration() method to 'has_merger', which describes whether or not the merger-induced turbulence is enabled. Update the fp_diffusion() method to properly calculate the acceleration timescale (tau) in all supported situations (e.g., with merger disabled to derive the fiducial results). | ||||
* | clusters/halo: Rename '_acceleration_disabled' to '_merger_disabled' | Aaron LI | 2019-02-21 | 1 | -11/+12 |
| | | | | | | | | Since there may be base turbulence that can (gentlely) accelerate the electrons, the original name '_acceleration_disabled' is no longer accurate. Change it to '_merger_disabled', which better describes that we disable the *merger-induced* turbulence that can greatly accelerate the electrons. | ||||
* | clusters/halo: Clean up _is_turb_active() | Aaron LI | 2019-02-21 | 1 | -7/+4 |
| | | | | | | | Do not check 'self._acceleration_disabled'. This will be reworked in a moment. Clean up the code. | ||||
* | clusters/halo: Minor tweaks | Aaron LI | 2019-02-21 | 1 | -4/+5 |
| | |||||
* | clusters/halo: Update fp_diffusion() against base turbulence | Aaron LI | 2019-02-21 | 1 | -2/+8 |
| | | | | | | When the (merger-induced) turbulence is not active, invoke the tau_acceleration() with 'is_end=True' to calculate the acceleration timescale w.r.t. the base turbulence. | ||||
* | clusters/halo: Extend tau_acceleration() against base turbulence | Aaron LI | 2019-02-21 | 1 | -10/+32 |
| | | | | | | Add new parameter 'is_end' to this method. If it is True, then calculate the acceleration timescale using velocity_turb_base(), i.e., the situation without active merger-induced turbulence. | ||||
* | clusters/halo: Update velocity_turb() against base turbulence | Aaron LI | 2019-02-21 | 1 | -13/+16 |
| | | | | | Take into account the base turbulence by using the newly added velocity_turb_base() method. | ||||
* | clusters/halo: Remove unused mach_turb() method | Aaron LI | 2019-02-21 | 1 | -10/+0 |
| | |||||
* | clusters/halo: Add velocity_turb_base() method | Aaron LI | 2019-02-21 | 1 | -0/+41 |
| | | | | | | | | | | This method calculates the velocity dispersion of the base turbulence, i.e., the turbulence existing in a relaxed system without the merger injection. Add new configuration option 'extragalactic/halos/x_turb' to parameterize the energy fraction of the base turbulence w.r.t. the ICM thernal energy. | ||||
* | clusters/halo: Implement _merger_end_time() method | Aaron LI | 2019-02-21 | 1 | -0/+18 |
| | | | | | Determine the ending time of the most recent merger happened before the given time. | ||||
* | clusters/halo: Several minor improvements | Aaron LI | 2019-02-21 | 1 | -4/+5 |
| | |||||
* | clusters/halo: Reorder '_is_turb_active()' a bit | Aaron LI | 2019-02-21 | 1 | -11/+11 |
| | |||||
* | clusters/halo: Reorder the '_energy_loss()' method | Aaron LI | 2019-02-21 | 1 | -33/+21 |
| | |||||
* | clusters/halo: Clean up fp_advection() | Aaron LI | 2019-02-21 | 1 | -7/+2 |
| | | | | | The check of _is_turb_active() is not needed, which is actually a bit wrong, since the calculation of 'electron_spec_init' was updated. | ||||
* | clusters/halo: Extends _validate_time() with 'include_end' parameter | Aaron LI | 2019-02-21 | 1 | -6/+8 |
| | | | | | | | Check the time against the merge end time only if 'include_end' is True (the default). Specify 'include_end=False' in duration_turb() method. | ||||
* | clusters/halo: Apply @property and @lru_cache() to _time_adjust() | Aaron LI | 2019-02-21 | 1 | -1/+3 |
| | |||||
* | clusters/halo: Update _validate_t_merger() to also check end time | Aaron LI | 2019-02-21 | 1 | -11/+12 |
| | | | | | Rename '_validate_t_merger()' to '_validate_time()' and update this method to also check the end time of a merger. | ||||
* | clusters/halo: Add 't_merger_end' property | Aaron LI | 2019-02-21 | 1 | -9/+30 |
| | |||||
* | clusters/halo: Further extend the halo radius calculation | Aaron LI | 2019-02-18 | 1 | -13/+10 |
| | |||||
* | clusters/halo: Improve the halo radius calculation | Aaron LI | 2019-02-16 | 1 | -2/+23 |
| | |||||
* | clusters/halo: Clean up the magnetic field calculation a bit | Aaron LI | 2019-02-16 | 1 | -3/+4 |
| | |||||
* | clusters: Use radius_cluster() accordingly | Aaron LI | 2019-01-31 | 1 | -2/+2 |
| | |||||
* | clusters: Minor cleanups (rename 'comp' to 'sec') | Aaron LI | 2019-01-30 | 1 | -19/+19 |
| | |||||
* | clusters/halo: Add options bolo_freq_{min,max,num} | Aaron LI | 2019-01-29 | 1 | -2/+9 |
| | | | | Update the default bolometric frequency band to: 10 MHz -- 100 GHz. | ||||
* | clusters/halo: Do not rescale density in _adjust_spectrum() | Aaron LI | 2019-01-28 | 1 | -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. | ||||
* | clusters/halo: calc_acc_factor() accepts the fiducial spectrum | Aaron LI | 2019-01-28 | 1 | -3/+7 |
| | |||||
* | clusters/halo: Fix minor errors along the refactoring | Aaron LI | 2019-01-27 | 1 | -5/+4 |
| | |||||
* | clusters/halo: Tweak radius_turb() calculation | Aaron LI | 2019-01-27 | 1 | -4/+3 |
| | |||||
* | clusters/halo: Rewrite is_genuine() to be calc_acc_factor() | Aaron LI | 2019-01-27 | 1 | -16/+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/halo: Delete the RadioHalo wrapper class | Aaron LI | 2019-01-27 | 1 | -92/+0 |
| | |||||
* | clusters/halo: Implement calc_electron_spectrum() for multiple mergers | Aaron LI | 2019-01-27 | 1 | -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/halo: Implement radius_turb_eff() method | Aaron LI | 2019-01-27 | 1 | -0/+27 |
| | |||||
* | clusters/halo: Add 'radius_turb_max' property | Aaron LI | 2019-01-27 | 1 | -2/+10 |
| | |||||
* | clusters/halo: Tweak {duration,velocity}_turb() | Aaron LI | 2019-01-26 | 1 | -8/+7 |
| | |||||
* | clusters/halo: Reimplement the 'radius' property | Aaron LI | 2019-01-26 | 1 | -6/+11 |
| | |||||
* | clusters/halo: Reorder radius_{strip,turb}() | Aaron LI | 2019-01-26 | 1 | -35/+35 |
| | | | | | Rename radius_stripping() to radius_strip() and radius_turbulence() to radius_turb(). | ||||
* | clusters/halo: Clean up mass_main() method | Aaron LI | 2019-01-26 | 1 | -12/+3 |
| | |||||
* | clusters/halo: Rewrite _merger_time() to get the effective merger | Aaron LI | 2019-01-26 | 1 | -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 LI | 2019-01-26 | 1 | -31/+31 |
| | |||||
* | clusters/halo: Fold _merger_idx() into _merger_event() | Aaron LI | 2019-01-26 | 1 | -18/+11 |
| | | | | Update _merger_time() accordingly. | ||||
* | clusters/halo: Move and rename _velocity_turb() to _velocity_turb() | Aaron LI | 2019-01-26 | 1 | -57/+57 |
| | |||||
* | clusters/halo: Rename _merger() to _merger_event() | Aaron LI | 2019-01-26 | 1 | -4/+4 |
| | |||||
* | clusters/halo: Remove *_avg and *_fraction methods | Aaron LI | 2019-01-26 | 1 | -50/+0 |
| | |||||
* | clusters/halo: Use t_merger for duration_turb() and mach_turb() | Aaron LI | 2019-01-26 | 1 | -4/+6 |
| | | | | Rename mach_turbulence() to mach_turb(). | ||||
* | clusters/halo: Simplify tau_acceleration() method | Aaron LI | 2019-01-26 | 1 | -45/+14 |
| | | | | Move the turbulence activity check into the fp_diffusion() method. | ||||
* | clusters/halo: Some cleanups | Aaron LI | 2019-01-26 | 1 | -28/+15 |
| | |||||
* | clusters/halo: Use t_merger to be more explicit | Aaron LI | 2019-01-26 | 1 | -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 LI | 2019-01-26 | 1 | -10/+9 |
| | |||||
* | clusters/halo: Fold _rho_gas_f() into _velocity_turb() | Aaron LI | 2019-01-25 | 1 | -20/+8 |
| |