We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e776c2 commit b28ce8eCopy full SHA for b28ce8e
1 file changed
mne/time_frequency/psd.py
@@ -266,7 +266,7 @@ def psd_array_welch(
266
# A good data span shorter than n_per_seg cannot hold a full-length Welch
267
# window. SciPy clamps nperseg down to the span length internally but leaves
268
# noverlap unchanged, then raises "noverlap must be less than nperseg"
269
- # (#13039). Pre-empt that here: analyze each short span with a window shrunk
+ # (#13039). Preempt that here: analyze each short span with a window shrunk
270
# to its own length and noverlap clamped below it. n_fft is left unchanged,
271
# so every span is zero-padded to the same length and shares one frequency
272
# grid; short spans simply get coarser spectral resolution. A per-span
0 commit comments