spyrit.core.meas.LinearSplit.build_H_pinv

LinearSplit.build_H_pinv(reg: str = 'L1', eta: float = 0.001) None

Used to set the pseudo inverse of the measurement matrix \(H\) using torch.linalg.pinv. The result is stored in the attribute H_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.