Skip to content

Commit fc013b8

Browse files
committed
Add default parameter values to the docstring
1 parent 7a7ba61 commit fc013b8

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

pysteps/optflow/darts.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@ def DARTS(Z, **kwargs):
3434
Other Parameters
3535
----------------
3636
N_x : int
37-
Number of DFT coefficients to use for the input images, x-axis.
37+
Number of DFT coefficients to use for the input images, x-axis (default=50).
3838
N_y : int
39-
Number of DFT coefficients to use for the input images, y-axis.
39+
Number of DFT coefficients to use for the input images, y-axis (default=50).
4040
N_t : int
41-
Number of DFT coefficients to use for the input images, time axis.
41+
Number of DFT coefficients to use for the input images, time axis (default=4).
4242
M_x : int
4343
Number of DFT coefficients to compute for the output advection field,
44-
x-axis.
44+
x-axis (default=2).
4545
M_y : int
4646
Number of DFT coefficients to compute for the output advection field,
47-
y-axis.
47+
y-axis (default=2).
4848
print_info : bool
4949
If True, print information messages.
5050
lsq_method : {1, 2}

pysteps/visualization/motionfields.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
def quiver(UV, geodata=None, **kwargs):
99
"""Function to plot a motion field as arrows.
1010
11-
Parameters
12-
----------
11+
Parameters
12+
----------
1313
UV : array-like
14-
Array of shape (2, m,n) containing the input motion field.
14+
Array of shape (2,m,n) containing the input motion field.
1515
geodata : dictionary
1616
Optional dictionary containing geographical information about the field.
1717
If geodata is not None, it must contain the following key-value pairs:

0 commit comments

Comments
 (0)