cogpy.preprocess.filtering.spatial

Spatial filters for xarray grid signals (Gaussian, median, highpass).

Operate over (AP, ML) dimensions, leaving other dims untouched.

Functions

gaussian_spatialx(sigx, *[, sigma, ap_dim, ...])

Spatial Gaussian lowpass over (AP, ML), leaving other dims untouched.

median_highpassx(sigx, *[, size, time_dim, ...])

Highpass-like filter via subtraction of a spatiotemporal median.

median_spatialx(sigx, *[, size, ap_dim, ml_dim])

Spatial median lowpass over (AP, ML), leaving other dims untouched.

median_subtractx(sigx, *[, dims, skipna])

Subtract the median across spatial dims (common average/median reference).