File tree 2 files changed +4
-2
lines changed
mne_bids_pipeline/steps/preprocessing 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 14
14
15
15
[// ]: # (### :bug: Bug fixes)
16
16
17
+ - Replace legacy `plot_psd()` calls with `compute_psd().plot()`
18
+ (#725 by @drammock)
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ def filter_data(
218
218
if exec_params .interactive :
219
219
# Plot raw data and power spectral density.
220
220
raw .plot (n_channels = 50 , butterfly = True )
221
- raw .plot_psd (fmax = fmax )
221
+ raw .compute_psd (fmax = fmax ). plot ( )
222
222
223
223
del raw
224
224
@@ -302,7 +302,7 @@ def filter_data(
302
302
if exec_params .interactive :
303
303
# Plot raw data and power spectral density.
304
304
raw_noise .plot (n_channels = 50 , butterfly = True )
305
- raw_noise .plot_psd (fmax = fmax )
305
+ raw_noise .compute_psd (fmax = fmax ). plot ( )
306
306
307
307
assert len (in_files ) == 0 , in_files .keys ()
308
308
You can’t perform that action at this time.
0 commit comments