apply_gaussian_windowing, sigma: float = 0.4, axis=0)[source]

Simple gaussian windowing function along an axes.

Applying a windowing function avoids Gibbs oscillation. tn are time steps 0, 1, …, N

  • a (ndarray) – a ndarray where the time series is along axis axes

  • sigma (float) – standard-deviation used for the gaussian window

  • axis (int) – axes along which to apply the gaussian window

Return type: