Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | configs/spec: Reorder options to be clearer | Aaron LI | 2019-02-27 | 1 | -16/+14 |
| | |||||
* | clusters/halo: Tune parameters based on various tests | Aaron LI | 2019-02-27 | 1 | -8/+8 |
| | |||||
* | clusters/main: Allow to disable map generation | Aaron LI | 2019-02-26 | 2 | -6/+14 |
| | | | | | New configuration option 'extragalactic/clusters/make_maps' is added to control whether or not to make and save the simulated maps. | ||||
* | foreground: Various minor cleanups | Aaron LI | 2019-02-26 | 1 | -24/+18 |
| | |||||
* | configs/spec: Adjust some default values and minor tweaks | Aaron LI | 2019-02-26 | 1 | -7/+15 |
| | |||||
* | Add utils/virial module | Aaron LI | 2019-02-25 | 1 | -0/+71 |
| | | | | Implement the M500 to M200 conversion. | ||||
* | utils/analyze: PEP8 fix | Aaron LI | 2019-02-25 | 1 | -1/+1 |
| | |||||
* | utils/analyze: Extend loglinfit() to accept x/y limits | Aaron LI | 2019-02-24 | 1 | -5/+27 |
| | |||||
* | utils/analyze: Add parameter 'coef0' to loglinfit() | Aaron LI | 2019-02-24 | 1 | -3/+6 |
| | |||||
* | utils/analyze: Improve logfit() to output uncertainties | Aaron LI | 2019-02-22 | 1 | -8/+25 |
| | | | | | | | Use ``scipy.optimize.curve_fit()`` to do the underlying fitting, which can give the uncertainties of the fitted parameters. Rename logfit() to loglinfit(). | ||||
* | 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. | ||||
* | utils/unit: Minor cleanups | Aaron LI | 2019-02-21 | 1 | -6/+10 |
| | |||||
* | 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 | 2 | -0/+46 |
| | | | | | | | | | | 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 |
| | |||||
* | configs/spec: Adjust some min/max values for simplicity | Aaron LI | 2019-02-21 | 1 | -5/+5 |
| | |||||
* | clusters/halo: Further extend the halo radius calculation | Aaron LI | 2019-02-18 | 2 | -14/+15 |
| | |||||
* | 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/main: Adjust log level for _simulate_halo1() | Aaron LI | 2019-02-16 | 1 | -2/+2 |
| | |||||
* | clusters/main: Minor cleanups | Aaron LI | 2019-02-01 | 1 | -2/+8 |
| | |||||
* | clusters/helper: Some cleanups | Aaron LI | 2019-01-31 | 1 | -32/+13 |
| | |||||
* | clusters: Use radius_cluster() accordingly | Aaron LI | 2019-01-31 | 3 | -17/+14 |
| | |||||
* | clusters/helper: Remove obsolete time_crossing() | Aaron LI | 2019-01-31 | 1 | -31/+0 |
| | |||||
* | clusters/helper: Add radius_cluster() | Aaron LI | 2019-01-31 | 1 | -0/+19 |
| | | | | Ignore the cosmic evolution, keeping the radio halo modeling simple. | ||||
* | clusters/main: Skip drawing ingenuine halos | Aaron LI | 2019-01-30 | 1 | -3/+3 |
| | |||||
* | clusters/main: Also calculate spectral index and acceleration factor | Aaron LI | 2019-01-30 | 1 | -7/+22 |
| | |||||
* | clusters/main: Add 'genuine' property for halos | Aaron LI | 2019-01-30 | 2 | -1/+13 |
| | | | | Configuration option 'genuine_threshold' is added together. | ||||
* | clusters: Minor cleanups (rename 'comp' to 'sec') | Aaron LI | 2019-01-30 | 3 | -47/+49 |
| | |||||
* | clusters/main: Improve keys handling in _save_halos_data() | Aaron LI | 2019-01-30 | 1 | -3/+2 |
| | | | | This also fixes the issue when try to remove a non-existent key. | ||||
* | utils/analyze: Add countdist() function | Aaron LI | 2019-01-30 | 1 | -8/+16 |
| | | | | Modified from the original countdist_integrated(). | ||||
* | clusters/psformalism: Count for dark matter fraction for M_min | Aaron LI | 2019-01-29 | 2 | -6/+8 |
| | |||||
* | clusters/halo: Add options bolo_freq_{min,max,num} | Aaron LI | 2019-01-29 | 3 | -3/+18 |
| | | | | Update the default bolometric frequency band to: 10 MHz -- 100 GHz. | ||||
* | clusters/helper: Get rid of CONFIGS | Aaron LI | 2019-01-29 | 1 | -37/+7 |
| | |||||
* | clusters/formation: Add show() method | Aaron LI | 2019-01-29 | 1 | -1/+9 |
| | |||||
* | clusters/formation: Move history() to mergertree.get_history() | Aaron LI | 2019-01-29 | 2 | -30/+46 |
| |