From 8d28c8f5137730b93cc9450b784258e2357ef783 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 26 Jan 2019 21:09:41 +0800 Subject: clusters/halo: Clean up mass_main() method --- fg21sim/extragalactic/clusters/halo.py | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'fg21sim/extragalactic/clusters') 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"] -- cgit v1.2.2