Skip to content

Commit e4ebb33

Browse files
committed
Docstring revisions
1 parent dbf7ea1 commit e4ebb33

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pysteps/cascade/decomposition.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
"""Implementations of cascade decompositions for separating two-dimensional
2-
images into multiple spatial scales.
1+
"""Methods for decomposing two-dimensional images into multiple spatial scales.
32
43
The methods in this module implement the following interface:
54
6-
decomposition_xxx(X, filter, optional arguments)
5+
decomposition_xxx(X, filter, **kwargs)
76
87
where X is the input field and filter is a dictionary returned by a filter
9-
method implemented in bandpass_filters.py. The output of each method is a
10-
dictionary with the following key-value pairs:
8+
method implemented in bandpass_filters.py. Optional parameters can be passed in
9+
the keyword arguments. The output of each method is a dictionary with the
10+
following key-value pairs:
1111
1212
+-------------------+----------------------------------------------------------+
1313
| Key | Value |
@@ -49,7 +49,7 @@ def decomposition_fft(X, filter, **kwargs):
4949
Two-dimensional array containing the input field. All values are required
5050
to be finite.
5151
filter : dict
52-
A filter returned by any method implemented in bandpass_filters.py.
52+
A filter returned by a method implemented in bandpass_filters.py.
5353
5454
Other Parameters
5555
----------------
@@ -60,8 +60,8 @@ def decomposition_fft(X, filter, **kwargs):
6060
Returns
6161
-------
6262
out : ndarray
63-
A dictionary described in the module documentation. The parameter n is
64-
determined from the filter (see bandpass_filters.py).
63+
A dictionary described in the module documentation. The number of cascade
64+
levels is determined from the filter (see bandpass_filters.py).
6565
6666
"""
6767
MASK = kwargs.get("MASK", None)

0 commit comments

Comments
 (0)