Skip to content

Commit

Permalink
pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
combet committed Oct 16, 2024
1 parent a067687 commit d1ec770
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
12 changes: 8 additions & 4 deletions clmm/theory/func_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ def compute_surface_density(
where :math:`\rho(r)` is the 3d density profile.
If the `r_mis` keyword is specified, this function computes the miscentered surface density instead as
If the `r_mis` keyword is specified, this function computes the miscentered surface
density instead as
.. math::
\Sigma_{\rm mis}(R, R_{\rm mis}) = \frac{1}{2\pi}\int_0^{2\pi} d\theta \,
Expand Down Expand Up @@ -167,7 +168,8 @@ def compute_surface_density(
Projected miscenter distance in :math:`M\!pc`
use_backend : bool, optional
If True, use the projected surface density from the backend for miscentering
calculations. If False, use the (faster) CLMM exact analytical implementation instead.(Default: False)
calculations. If False, use the (faster) CLMM exact analytical
implementation instead. (Default: False)
verbose : boolean, optional
If True, the Einasto slope (alpha_ein) is printed out. Only available for the NC and CCL
backends.
Expand Down Expand Up @@ -263,7 +265,8 @@ def compute_mean_surface_density(
Projected miscenter distance in :math:`M\!pc`
use_backend : bool, optional
If True, use the projected surface density from the backend for miscentering
calculations. If False, use the (faster) CLMM exact analytical implementation instead.(Default: False)
calculations. If False, use the (faster) CLMM exact analytical
implementation instead. (Default: False)
verbose : boolean, optional
If True, the Einasto slope (alpha_ein) is printed out. Only available for the NC and CCL
backends.
Expand Down Expand Up @@ -356,7 +359,8 @@ def compute_excess_surface_density(
Projected miscenter distance in :math:`M\!pc`
use_backend : bool, optional
If True, use the projected surface density from the backend for miscentering
calculations. If False, use the (faster) CLMM exact analytical implementation instead.(Default: False)
calculations. If False, use the (faster) CLMM exact analytical
implementation instead. (Default: False)
verbose : boolean, optional
If True, the Einasto slope (alpha_ein) is printed out. Only available for the NC and CCL
backends.
Expand Down
9 changes: 6 additions & 3 deletions clmm/theory/parent_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,8 @@ def eval_surface_density(self, r_proj, z_cl, r_mis=None, use_backend=False, verb
Projected miscenter distance in :math:`M\!pc`
use_backend : bool, optional
If True, use the projected surface density from the backend for miscentering
calculations. If False, use the (faster) CLMM exact analytical implementation instead. (Default: False)
calculations. If False, use the (faster) CLMM exact analytical
implementation instead. (Default: False)
verbose : bool, optional
If True, the Einasto slope (alpha_ein) is printed out. Only availble for the NC and
CCL backends. (Default: False)
Expand Down Expand Up @@ -754,7 +755,8 @@ def eval_mean_surface_density(self, r_proj, z_cl, r_mis=None, use_backend=False,
Projected miscenter distance in :math:`M\!pc`.
use_backend : bool, optional
If True, use the projected surface density from the backend for miscentering
calculations. If False, use the (faster) CLMM exact analytical implementation instead.(Default: False)
calculations. If False, use the (faster) CLMM exact analytical
implementation instead. (Default: False)
verbose : bool, optional
If True, the Einasto slope (alpha_ein) is printed out. Only availble for the NC and
CCL backends. (Default: False)
Expand Down Expand Up @@ -795,7 +797,8 @@ def eval_excess_surface_density(
Projected miscenter distance in :math:`M\!pc`.
use_backend : bool, optional
If True, use the projected surface density from the backend for miscentering
calculations. If False, use the (faster) CLMM exact analytical implementation instead.(Default: False)
calculations. If False, use the (faster) CLMM exact analytical
implementation instead. (Default: False)
verbose : bool, optional
If True, the Einasto slope (alpha_ein) is printed out. Only availble for the NC and
CCL backends. (Default: False)
Expand Down

0 comments on commit d1ec770

Please sign in to comment.