diff options
author | Aaron LI <aly@aaronly.me> | 2019-01-26 21:09:41 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-01-26 21:09:41 +0800 |
commit | 8d28c8f5137730b93cc9450b784258e2357ef783 (patch) | |
tree | 16f76794b171b1db132d3215b371d041ea764274 /fg21sim/extragalactic | |
parent | 3dfd7ce87f8d5351ca25c2392d69da30696b051c (diff) | |
download | fg21sim-8d28c8f5137730b93cc9450b784258e2357ef783.tar.bz2 |
clusters/halo: Clean up mass_main() method
Diffstat (limited to 'fg21sim/extragalactic')
-rw-r--r-- | fg21sim/extragalactic/clusters/halo.py | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/fg21sim/extragalactic/clusters/halo.py b/fg21sim/extragalactic/clusters/halo.py index 4a62d3e..7457ce6 100644 --- a/fg21sim/extragalactic/clusters/halo.py +++ b/fg21sim/extragalactic/clusters/halo.py @@ -809,19 +809,10 @@ class RadioHaloAM(RadioHalo1M): def mass_main(self, t): """ - Calculate the main cluster mass at the given (cosmic) time. + Calculate the main cluster mass, which is assumed to grow along + the merger/accretion processes, at the given (cosmic) time. - Parameters - ---------- - t : float - The (cosmic) time/age. - Unit: [Gyr] - - Returns - ------- - mass : float - The mass of the main cluster. - Unit: [Msun] + Unit: [Msun] """ merger1 = self._merger_event(t) idx1 = merger1["idx"] |