@@ -1704,7 +1704,8 @@ def _reflow_param_docstring(docstring, has_first_line=True, width=75):
17041704
17051705_fmin_fmax = """\
17061706 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+ {}"""
17081709
17091710docdict ["fmin_fmax_psd" ] = _fmin_fmax .format (
17101711 "``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):
25782579 **method_kw
25792580 Additional keyword arguments passed to the spectral estimation
25802581 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`.
25852589"""
25862590
25872591docdict ["method_kw_tfr" ] = _method_kw_tfr_template .format (
0 commit comments