Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hsinfan1996 committed Feb 12, 2025
1 parent 9777e84 commit 6e45c21
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions clmm/theory/numcosmo.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,9 @@ def _get_einasto_alpha(self, z_cl=None):
return self.hdpm.props.alpha

def _get_delta_mdef_virial(self, z_cl):
"Gets the overdensity"
# This fuction can return the overdensity for all mass definitions
"Gets the virial overdensity"
# This fuction can return the overdensity for all mass definitions,
# but in CLMM, we only use it in the caase of mdef='virial'.
return self.hdpm.Delta(self.cosmo.be_cosmo, z_cl)

def _eval_reduced_tangential_shear_core(self, r_proj, z_cl, z_src):
Expand Down

0 comments on commit 6e45c21

Please sign in to comment.