Skip to content

Commit

Permalink
Sphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
MoseleyS committed Sep 7, 2023
1 parent ddfc9da commit b178293
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions improver/nbhood/nbhood.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,9 @@ def _do_nbhood_sum(
) -> np.ndarray:
"""Calculate the sum-in-area from an array.
As this can be expensive, the method first checks for the extreme cases where the data are:
- All zeros (result will be all zeros too)
- All ones (result will be max_extreme, if supplied)
- Contains outer rows / columns that are completely zero or completely one, these
All zeros (result will be all zeros too)
All ones (result will be max_extreme, if supplied)
Contains outer rows / columns that are completely zero or completely one, these
rows and columns are trimmed before calculating the area sum and their contents
will be as for the appropriate all case above.
Expand Down

0 comments on commit b178293

Please sign in to comment.