@@ -1704,7 +1704,8 @@ def _reflow_param_docstring(docstring, has_first_line=True, width=75):
1704
1704
1705
1705
_fmin_fmax = """\
1706
1706
fmin, fmax : float
1707
- The lower- and upper-bound on frequencies of interest. Default is {}"""
1707
+ The lower- and upper-bound on frequencies of interest. Default is
1708
+ {}"""
1708
1709
1709
1710
docdict ["fmin_fmax_psd" ] = _fmin_fmax .format (
1710
1711
"``fmin=0, fmax=np.inf`` (spans all frequencies present in the data)."
@@ -2578,10 +2579,13 @@ def _reflow_param_docstring(docstring, has_first_line=True, width=75):
2578
2579
**method_kw
2579
2580
Additional keyword arguments passed to the spectral estimation
2580
2581
function (e.g., ``n_fft, n_overlap, n_per_seg, average, window``
2581
- for Welch method, or
2582
- ``bandwidth, adaptive, low_bias, normalization`` for multitaper
2583
- method). See :func:`~mne.time_frequency.psd_array_welch` and
2584
- :func:`~mne.time_frequency.psd_array_multitaper` for details.
2582
+ for Welch method, or ``bandwidth, adaptive, low_bias, normalization``
2583
+ for multitaper method). See :func:`~mne.time_frequency.psd_array_welch`
2584
+ and :func:`~mne.time_frequency.psd_array_multitaper` for details. Note
2585
+ that for Welch method if ``n_fft`` is unspecified its default will be
2586
+ the smaller of ``2048`` or the number of available time samples (taking into
2587
+ account ``tmin`` and ``tmax``), not ``256`` as in
2588
+ :func:`~mne.time_frequency.psd_array_welch`.
2585
2589
"""
2586
2590
2587
2591
docdict ["method_kw_tfr" ] = _method_kw_tfr_template .format (
0 commit comments