Skip to content

Base Operators

linop sub-module — basic linear operators

Class / Function Description
BaseLinearOperator Abstract base class for all linear operators in the library.
LinearOperator Class representing a general linear operator defined by matrix-vector multiplication routines.
IdentityOperator Linear operator representing an identity matrix.
DiagonalOperator Linear operator representing a diagonal matrix.
MatrixLinearOperator Linear operator wrapper around a standard 2D NumPy array.
ZeroOperator Linear operator that maps any vector to a zero vector.
InverseLO Linear operator representing the inverse of another linear operator.
ReducedLinearOperator Linear operator wrapper that restricts inputs and outputs to a subset of indices.
SymmetricallyReducedLinearOperator Reduced linear operator where the row and column restrictions are symmetric.
aslinearoperator Helper function to cast a 2D array, matrix, or callable into a LinearOperator.

blkop sub-module — block-linear operators

Class Description
BlockLinearOperator General block-structured linear operator composed of smaller sub-operators.
BlockDiagonalLinearOperator Block-linear operator with non-zero sub-operators only along the diagonal.
BlockHorizontalLinearOperator Block-linear operator arranged horizontally.
BlockVerticalLinearOperator Block-linear operator arranged vertically.

Base noise covariance (and inverse) operators

Class Description
NoiseCovLinearOperator Base class for noise covariance operators.
InvNoiseCovLinearOperator Base class for inverse noise covariance operators.
BaseBlockDiagNoiseCovLinearOperator Base class for block-diagonal noise covariance operators.
BaseBlockDiagInvNoiseCovLinearOperator Base class for inverse block-diagonal noise covariance operators.

Base class for processing the time samples

Class Description
BaseProcessTimeSamples Abstract base class for processing pointing information and pre-computing map-making weights.