aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim
Commit message (Collapse)AuthorAgeFilesLines
* clusters/halo: Add velocity_turb_base() methodAaron LI2019-02-212-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() methodAaron LI2019-02-211-0/+18
| | | | | Determine the ending time of the most recent merger happened before the given time.
* clusters/halo: Several minor improvementsAaron LI2019-02-211-4/+5
|
* clusters/halo: Reorder '_is_turb_active()' a bitAaron LI2019-02-211-11/+11
|
* clusters/halo: Reorder the '_energy_loss()' methodAaron LI2019-02-211-33/+21
|
* clusters/halo: Clean up fp_advection()Aaron LI2019-02-211-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' parameterAaron LI2019-02-211-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 LI2019-02-211-1/+3
|
* clusters/halo: Update _validate_t_merger() to also check end timeAaron LI2019-02-211-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' propertyAaron LI2019-02-211-9/+30
|
* configs/spec: Adjust some min/max values for simplicityAaron LI2019-02-211-5/+5
|
* clusters/halo: Further extend the halo radius calculationAaron LI2019-02-182-14/+15
|
* clusters/halo: Improve the halo radius calculationAaron LI2019-02-161-2/+23
|
* clusters/halo: Clean up the magnetic field calculation a bitAaron LI2019-02-161-3/+4
|
* clusters/main: Adjust log level for _simulate_halo1()Aaron LI2019-02-161-2/+2
|
* clusters/main: Minor cleanupsAaron LI2019-02-011-2/+8
|
* clusters/helper: Some cleanupsAaron LI2019-01-311-32/+13
|
* clusters: Use radius_cluster() accordinglyAaron LI2019-01-313-17/+14
|
* clusters/helper: Remove obsolete time_crossing()Aaron LI2019-01-311-31/+0
|
* clusters/helper: Add radius_cluster()Aaron LI2019-01-311-0/+19
| | | | Ignore the cosmic evolution, keeping the radio halo modeling simple.
* clusters/main: Skip drawing ingenuine halosAaron LI2019-01-301-3/+3
|
* clusters/main: Also calculate spectral index and acceleration factorAaron LI2019-01-301-7/+22
|
* clusters/main: Add 'genuine' property for halosAaron LI2019-01-302-1/+13
| | | | Configuration option 'genuine_threshold' is added together.
* clusters: Minor cleanups (rename 'comp' to 'sec')Aaron LI2019-01-303-47/+49
|
* clusters/main: Improve keys handling in _save_halos_data()Aaron LI2019-01-301-3/+2
| | | | This also fixes the issue when try to remove a non-existent key.
* utils/analyze: Add countdist() functionAaron LI2019-01-301-8/+16
| | | | Modified from the original countdist_integrated().
* clusters/psformalism: Count for dark matter fraction for M_minAaron LI2019-01-292-6/+8
|
* clusters/halo: Add options bolo_freq_{min,max,num}Aaron LI2019-01-293-3/+18
| | | | Update the default bolometric frequency band to: 10 MHz -- 100 GHz.
* clusters/helper: Get rid of CONFIGSAaron LI2019-01-291-37/+7
|
* clusters/formation: Add show() methodAaron LI2019-01-291-1/+9
|
* clusters/formation: Move history() to mergertree.get_history()Aaron LI2019-01-292-30/+46
|
* clusters/main: Do not require "age" in _simulate_mergers()Aaron LI2019-01-291-4/+3
| | | | Thus _simulate_mergers() can be called without _process_catalog().
* utils/healpix: Minor cleanupsAaron LI2019-01-291-22/+36
|
* Use UTC time instead of local timeAaron LI2019-01-293-22/+17
|
* 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".