aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/utils/cosmology.py
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-05-11 16:57:46 +0800
committerAaron LI <aly@aaronly.me>2018-05-12 10:33:57 +0800
commit73e7fe043cb7e9f83174b922d4eb916f948a5632 (patch)
tree76b4b8ddabf35069a76337917f85d94a9852c9f3 /fg21sim/utils/cosmology.py
parent4bf1e89c77c7e8e4abe6a0d654547e3f0bc56521 (diff)
downloadfg21sim-73e7fe043cb7e9f83174b922d4eb916f948a5632.tar.bz2
clusters: Fix cluster distribution calculation about mass
Diffstat (limited to 'fg21sim/utils/cosmology.py')
-rw-r--r--fg21sim/utils/cosmology.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/fg21sim/utils/cosmology.py b/fg21sim/utils/cosmology.py
index 21db450..8da335a 100644
--- a/fg21sim/utils/cosmology.py
+++ b/fg21sim/utils/cosmology.py
@@ -306,10 +306,9 @@ class Cosmology:
@property
def darkmatter_fraction(self):
"""
- The cosmological mean dark matter fraction (w.r.t. matter),
- assumed to be *constant* regardless of redshifts!
+ The cosmological mean dark matter fraction (w.r.t. matter).
- See also: ``self.baryon_fraction``
+ XXX: assumed to be *constant* regardless of redshifts!
"""
return 1 - self.baryon_fraction