aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2019-01-26 21:09:41 +0800
committerAaron LI <aly@aaronly.me>2019-01-26 21:09:41 +0800
commit8d28c8f5137730b93cc9450b784258e2357ef783 (patch)
tree16f76794b171b1db132d3215b371d041ea764274 /fg21sim/extragalactic/clusters
parent3dfd7ce87f8d5351ca25c2392d69da30696b051c (diff)
downloadfg21sim-8d28c8f5137730b93cc9450b784258e2357ef783.tar.bz2
clusters/halo: Clean up mass_main() method
Diffstat (limited to 'fg21sim/extragalactic/clusters')
-rw-r--r--fg21sim/extragalactic/clusters/halo.py15
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"]