pygwb.spectral.coarse_grain_naive
- pygwb.spectral.coarse_grain_naive(data, coarsening_factor)[source]
Naive implementation of a coarse graining factor that ignores edge effects.
This is equivalent to the process performed for a Welch average.
- Parameters:
data (
array-like
) – The data to coarse grain.coarsening_factor (
int
) – The factor by which to coarsen the data.
- Returns:
- coarsened:
array-like
The coarse-grained data.
- coarsened: