API Reference#
Covariance matrix representations and priors for large scale inverse problems.
Abstract Covariance class#
The common interface CovarianceMatrix can be seen as a extension of the class scipy.stats.Covariance as it inherits from it (thus making it compatible with all scipy.stats functions and classes) and dope it with LinearOperator capabilities.
|
Abstract representation of a covariance matrix. |
Full-rank covariance matrix decomposition#
Several full-rank representation of covariance matrices.
|
Representation of a covariance matrix via its diagonal. |
|
Representation of a covariance via a Cholesky factorization. |
|
Representation of a covariance via a sparse Cholesky factorization. |
|
Representation of a covariance via the Cholesky factorization of its inverse (aka the precision matrix). |
|
Representation of a covariance via the sparse Cholesky factorization of its sparse inverse (aka the precision matrix). |
Low-rank approximations#
Several low-rank (approximate) representation of covariance matrices.
|
Representation of a covariance provided via eigenfactorization |
|
Represents a covariance matrix as an ensemble of realizations. |
Kernel based approximations#
Low-rank approximations from a given Kernel. Only provides the linear operations capabilities (no sampling not statistical calculations).
|
Abstract class providing linear operator capability from a kernel definition. |
|
Represents a fast fourier transform covariance matrix. |
Matrix compression#
Allow to factorize CovarianceMatrix and CovKernelAsLinop using
Eigen low-rank approximation.
|
Compute Eigenmodes of the covariance. |
|
Return an eigen factorized covariance matrix from the input covariance matrix. |
Sparse Helpers#
Helper to work with sparse matrices and covariances.
|
Sparse Cholesky factor of a matrix \(\mathbf{A}\). |
Working with priors and trends#
To represent trend through drift matrix. To use along with geostatistical regularizator.
Represent a prior term for the geostatistical regularization. |
|
Represent a null prior term. |
|
|
Represent a prior (no influence of beta). |
Represent a mean prior. |
|
|
Represent a mean prior. |
|
Represent a drift matrix prior term. |
|
Represent a constant drift matrix (trend). |
|
Represent a linear drift matrix (trend). |
Other utility functions#
To work with covariance matrices and low rank approximations.
|
Return the variance explained by each eigen value. |
Test data#
Functions providing test data.
Create a symmetric positive definite matrix of shape(11, 11). |
|
|
Create a symmetric positive definite matrix. |