Expand description
Time-domain temporal centroid (energy-weighted mean time of a signal).
Functions§
- centroid_
time - Temporal centroid of
signalin seconds: the energy-weighted mean timesum(t_i * x_i^2) / sum(x_i^2)wheret_i = i / sample_rate. This is the time-domain analogue of the spectral centroid — the “balance point” of the signal’s energy along the time axis.