Participer au site avec un Tip
Rechercher
 

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 :

Vous êtes un professionnel et vous avez besoin d'une formation ? Coder avec une
Intelligence Artificielle
Voir le programme détaillé
Classe « ShortTimeFFT »

Méthode scipy.signal.ShortTimeFFT.t

Signature de la méthode t

def t(self, n: int, p0: int | None = None, p1: int | None = None, k_offset: int = 0) -> numpy.ndarray 

Description

help(ShortTimeFFT.t)

Times of STFT for an input signal with `n` samples.

Returns a 1d array with times of the `~ShortTimeFFT.stft` values with
the same  parametrization. Note that the slices are
``delta_t = hop * T`` time units apart.

 Parameters
----------
n
    Number of sample of the input signal.
p0
    The first element of the range of slices to calculate. If ``None``
    then it is set to :attr:`p_min`, which is the smallest possible
    slice.
p1
    The end of the array. If ``None`` then `p_max(n)` is used.
k_offset
    Index of first sample (t = 0) in `x`.


See Also
--------
delta_t: Time increment of STFT (``hop*T``)
hop: Time increment in signal samples for sliding window.
nearest_k_p: Nearest sample index k_p for which t[k_p] == t[p] holds.
T: Sampling interval of input signal and of the window (``1/fs``).
fs: Sampling frequency (being ``1/T``)
ShortTimeFFT: Class this method belongs to.


Vous êtes un professionnel et vous avez besoin d'une formation ? Programmation Python
Les compléments
Voir le programme détaillé