spyrit.core.meas.LinearSplit.set_H_pinv

LinearSplit.set_H_pinv(rtol: float = None) None

Used to set the pseudo inverse of the measurement matrix \(H\) using torch.linalg.pinv.

Args:

rtol (float, optional): Regularization parameter (cutoff for small singular values, see torch.linalg.pinv). Defaults to None, in which case the default value of torch.linalg.pinv is used.

Returns:

None. The pseudo inverse is stored in the attribute H_pinv.