spyrit.core.meas.DynamicLinearSplit.build_H_dyn_pinv
- DynamicLinearSplit.build_H_dyn_pinv(reg: str = 'rcond', eta: float = 0.001) None
Computes the pseudo-inverse of the dynamic measurement matrix H_dyn and stores it in the attribute H_dyn_pinv.
This method supposes that the dynamic measurement matrix H_dyn has already been set using the method build_H_dyn(). An error will be raised if H_dyn has not been set yet.
- Args:
reg(str): Regularization method. Can be either ‘rcond’, ‘L2’ or ‘H1’. Defaults to ‘rcond’.eta(float): Regularization parameter. Defaults to 1e-6.- Raises:
AttributeError: If the dynamic measurement matrix H_dyn has not been set yet.