Skip to content

Commit b28ce8e

Browse files
committed
Fix codespell: Pre-empt -> Preempt in psd.py comment
1 parent 7e776c2 commit b28ce8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mne/time_frequency/psd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def psd_array_welch(
266266
# A good data span shorter than n_per_seg cannot hold a full-length Welch
267267
# window. SciPy clamps nperseg down to the span length internally but leaves
268268
# noverlap unchanged, then raises "noverlap must be less than nperseg"
269-
# (#13039). Pre-empt that here: analyze each short span with a window shrunk
269+
# (#13039). Preempt that here: analyze each short span with a window shrunk
270270
# to its own length and noverlap clamped below it. n_fft is left unchanged,
271271
# so every span is zero-padded to the same length and shares one frequency
272272
# grid; short spans simply get coarser spectral resolution. A per-span

0 commit comments

Comments
 (0)