cogpy.spectral.specx
Spectral transforms with xarray interface.
This module wraps core spectral functions from cogpy.spectral
(psd.py, multitaper.py, bivariate.py) to work seamlessly with
xarray.DataArray, preserving coordinates, dimensions, and metadata.
Convention
Input:
xr.DataArraywith a time dimensionOutput:
xr.DataArraywith afreqdimension (orfreq``×``timefor spectrograms)Preserves all non-time dimensions and coordinates that do not depend on time
Uses SciPy/NumPy/Ghostipy backends via
cogpy.spectral
Status
STATUS: ACTIVE Reason: xarray interface for spectral analysis to match filtering.py pattern Superseded by: n/a Safe to remove: no
Functions
|
Multitaper magnitude squared coherence between two signals. |
|
Normalize a spectrogram along a dimension. |
|
Power spectral density with xarray interface. |
|
Multitaper spectrogram (time-frequency representation). |