From 8d68f35cf95e1ec77ba531f99653be43ee470d00 Mon Sep 17 00:00:00 2001 From: rstiskalek Date: Fri, 25 Nov 2022 12:28:46 +0000 Subject: [PATCH] swithc to own G --- csiborgtools/fits/halo.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/csiborgtools/fits/halo.py b/csiborgtools/fits/halo.py index 0b3bf47..0e5e828 100644 --- a/csiborgtools/fits/halo.py +++ b/csiborgtools/fits/halo.py @@ -651,7 +651,8 @@ class Clump: @property def lambda200c(self): r""" - The clump Bullock spin [1] in a radius of :math:`R_{\rm 200c}`. + The clump Bullock spin, see Eq. 5 in [1], in a radius of + :math:`R_{\rm 200c}`. References ---------- @@ -664,11 +665,8 @@ class Clump: lambda200c : float """ J = self.angular_momentum - - G = 0.03671905417237583 R, M = self.spherical_overdensity_mass(200) - V = numpy.sqrt(G * M / R) - + V = numpy.sqrt(self.G * M / R) return numpy.linalg.norm(J) / (numpy.sqrt(2) * M * V * R) @classmethod