@@ -1283,7 +1283,8 @@ def minimum_phase(h: np.ndarray,
1283
1283
return h_minimum [:n_out ]
1284
1284
1285
1285
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 ):
1287
1288
"""
1288
1289
2D FIR filter design using the window method.
1289
1290
@@ -1315,14 +1316,16 @@ def firwin_2d(hsize, window, *, fc=None, fs=2, circular=False, pass_zero=True, s
1315
1316
The sampling frequency of the signal. Default is 2.
1316
1317
circular : bool, optional
1317
1318
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.
1319
1321
Hence, if ``True``, the DC gain, i.e., the gain at frequency (0, 0), is 1.
1320
1322
If ``False``, the DC gain is 0 at frequency (0, 0) if `circular` is ``True``.
1321
1323
If `circular` is ``False`` the frequencies (0, f1) and (f0, 0) will have gain 0.
1322
1324
It can also be a string argument for the desired filter type
1323
1325
(equivalent to ``btype`` in IIR design functions).
1324
1326
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.
1326
1329
Set to ``True`` to scale the coefficients so that the frequency
1327
1330
response is exactly unity at a certain frequency on one frequency axis.
1328
1331
That frequency is either:
0 commit comments