xarray-contrib / xeofs

Comprehensive EOF analysis in Python with xarray: A versatile, multidimensional, and scalable tool for advanced climate data analysis
https://xeofs.readthedocs.io/
MIT License
105 stars 20 forks source link

refactor: add `PCAPreprocessor` class #186

Closed nicrie closed 2 months ago

nicrie commented 2 months ago

This PR introduces a PCAPreprocessor class for transforming input data into a whitened, rank-reduced PCA space. It’s useful for cross models, enabling dimensionality reduction before extracting common patterns. This class is a key component of Continuum Power CCA (see #178).