mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2024-12-22 23:08:02 +00:00
swithc to own G
This commit is contained in:
parent
a3c7d03ceb
commit
8d68f35cf9
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue