Vous avez des améliorations (ou des corrections) à proposer pour ce document :
je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
def stft_detrend(self, x: numpy.ndarray, detr: Union[collections.abc.Callable[[numpy.ndarray], numpy.ndarray], Literal['linear', 'constant'], NoneType], p0: int | None = None, p1: int | None = None, *, k_offset: int = 0, padding: Literal['zeros', 'edge', 'even', 'odd'] = 'zeros', axis: int = -1) -> numpy.ndarray
Description
help(ShortTimeFFT.stft_detrend)
Short-time Fourier transform with a trend being subtracted from each
segment beforehand.
If `detr` is set to 'constant', the mean is subtracted, if set to
"linear", the linear trend is removed. This is achieved by calling
:func:`scipy.signal.detrend`. If `detr` is a function, `detr` is
applied to each segment.
All other parameters have the same meaning as in `~ShortTimeFFT.stft`.
Note that due to the detrending, the original signal cannot be
reconstructed by the `~ShortTimeFFT.istft`.
See Also
--------
invertible: Check if STFT is invertible.
:meth:`~ShortTimeFFT.istft`: Inverse short-time Fourier transform.
:meth:`~ShortTimeFFT.stft`: Short-time Fourier transform
(without detrending).
:class:`scipy.signal.ShortTimeFFT`: Class this method belongs to.
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :