Skip to content

Commit 5fd01f4

Browse files
committed
fix lint
1 parent 75fed9d commit 5fd01f4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

scipy/signal/_fir_filter_design.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,8 @@ def minimum_phase(h: np.ndarray,
12831283
return h_minimum[:n_out]
12841284

12851285

1286-
def firwin_2d(hsize, window, *, fc=None, fs=2, circular=False, pass_zero=True, scale=True):
1286+
def firwin_2d(hsize, window, *, fc=None, fs=2, circular=False,
1287+
pass_zero=True, scale=True):
12871288
"""
12881289
2D FIR filter design using the window method.
12891290
@@ -1315,14 +1316,16 @@ def firwin_2d(hsize, window, *, fc=None, fs=2, circular=False, pass_zero=True, s
13151316
The sampling frequency of the signal. Default is 2.
13161317
circular : bool, optional
13171318
Whether to create a circularly symmetric 2-D window. Default is False.
1318-
pass_zero : This parameter is passed to the `firwin` function for each scalar frequency axis.
1319+
pass_zero : This parameter is passed to the `firwin` function for each
1320+
scalar frequency axis.
13191321
Hence, if ``True``, the DC gain, i.e., the gain at frequency (0, 0), is 1.
13201322
If ``False``, the DC gain is 0 at frequency (0, 0) if `circular` is ``True``.
13211323
If `circular` is ``False`` the frequencies (0, f1) and (f0, 0) will have gain 0.
13221324
It can also be a string argument for the desired filter type
13231325
(equivalent to ``btype`` in IIR design functions).
13241326
scale : bool, optional
1325-
This parameter is passed to the `firwin` function for each scalar frequency axis.
1327+
This parameter is passed to the `firwin` function for
1328+
each scalar frequency axis.
13261329
Set to ``True`` to scale the coefficients so that the frequency
13271330
response is exactly unity at a certain frequency on one frequency axis.
13281331
That frequency is either:

0 commit comments

Comments
 (0)