aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump to version 0.9.0 (skip 0.8.x)v0.9.0Aaron LI2019-03-041-2/+2
|
* clusters/halo: Tune parameters kT_out and radius_indexAaron LI2019-03-011-2/+2
|
* clusters/main: Also pad merger events in halos dataAaron LI2019-02-281-0/+7
|
* clusters/main: Use pad_dict_list() to pad merger eventsAaron LI2019-02-281-13/+5
|
* utils/ds: Add pad_dict_list() functionAaron LI2019-02-281-4/+26
|
* bin/fg21sim: Remove the deleted backup=True parameterAaron LI2019-02-281-1/+1
|
* foreground: Do not add to products if emptyAaron LI2019-02-281-1/+1
|
* clusters/main: Fix a variable typoAaron LI2019-02-281-1/+1
|
* products: Various minor cleanupsAaron LI2019-02-281-22/+14
|
* README: Update and clean up a bitAaron LI2019-02-281-6/+4
|
* clusters/halo: Tune parametersAaron LI2019-02-271-7/+7
|
* configs/manager: Add update() methodAaron LI2019-02-271-0/+4
|
* configs/manager: Various more cleanupsAaron LI2019-02-271-21/+11
|
* configs/manager: Clean up save()Aaron LI2019-02-271-11/+7
|
* Several minor cleanupsAaron LI2019-02-272-6/+6
|
* clusters/main: Implement _identify_halos() to determine genuine halosAaron LI2019-02-272-0/+30
| | | | | New configuration options 'extragalactic/halos/genuine_{emfacc,index}_th' are added to set the thresholds.
* clusters/halo: calc_acc_factor() no longer usedAaron LI2019-02-272-46/+0
|
* clusters/main: Do not calculate acceleration factor and genuineAaron LI2019-02-272-13/+1
| | | | | A new method to determine the formation/genuineness of a radio halo will be used.
* clusters/main: Minor cleanupsAaron LI2019-02-271-7/+5
|
* clusters/halo: Update the spectral index calculationAaron LI2019-02-271-2/+1
| | | | | Calculate the spectral index with a frequency separation of the width of 0.1 times the frequency value, instead of a fixed separation of 10 MHz.
* configs/spec: Reorder options to be clearerAaron LI2019-02-271-16/+14
|
* clusters/halo: Tune parameters based on various testsAaron LI2019-02-271-8/+8
|
* clusters/main: Allow to disable map generationAaron LI2019-02-262-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 cleanupsAaron LI2019-02-261-24/+18
|
* configs/spec: Adjust some default values and minor tweaksAaron LI2019-02-261-7/+15
|
* Add utils/virial moduleAaron LI2019-02-251-0/+71
| | | | Implement the M500 to M200 conversion.
* utils/analyze: PEP8 fixAaron LI2019-02-251-1/+1
|
* utils/analyze: Extend loglinfit() to accept x/y limitsAaron LI2019-02-241-5/+27
|
* utils/analyze: Add parameter 'coef0' to loglinfit()Aaron LI2019-02-241-3/+6
|
* utils/analyze: Improve logfit() to output uncertaintiesAaron LI2019-02-221-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 calculationAaron LI2019-02-221-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 LI2019-02-211-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 LI2019-02-211-7/+4
| | | | | | | Do not check 'self._acceleration_disabled'. This will be reworked in a moment. Clean up the code.
* utils/unit: Minor cleanupsAaron LI2019-02-211-6/+10
|
* clusters/halo: Minor tweaksAaron LI2019-02-211-4/+5
|
* clusters/halo: Update fp_diffusion() against base turbulenceAaron LI2019-02-211-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 turbulenceAaron LI2019-02-211-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 turbulenceAaron LI2019-02-211-13/+16
| | | | | Take into account the base turbulence by using the newly added velocity_turb_base() method.
* clusters/halo: Remove unused mach_turb() methodAaron LI2019-02-211-10/+0
|
* 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
|