Skip to content

Commit

Permalink
Fix docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
hsinfan1996 committed Aug 6, 2023
1 parent 8d46860 commit ea68986
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions clmm/theory/parent_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,12 +449,13 @@ def get_einasto_alpha(self, z_cl=None):
return self._get_einasto_alpha(z_cl)

def use_projected_quad(self, use_quad):
r"""Sets the value of the :math:`\alpha` parameter for the Einasto profile
r"""Control the use of quad_vec to calculate the surface density profile for
CCL Einasto profile.
Parameters
----------
use_quad : bool
Only available for Einasto profile with CCL as the backend. If True, CCL will ues
Only available for Einasto profile with CCL as the backend. If True, CCL will use
quad_vec instead of default FFTLog to calculate the surface density profile.
"""
if self.halo_profile_model != "einasto" or self.backend != "ccl":
Expand Down

0 comments on commit ea68986

Please sign in to comment.