spyrit.core.prep.RescaleEstim.estim_alpha
- RescaleEstim.estim_alpha(y: tensor) tensor[source]
Estimate gain from pseudo-inverse.
- Args:
y(torch.tensor): The measurements with shape \((*, M)\), where \(*\) can be any number of dimensions and \(M\) matches the number of measurements defined bymeas_op.M.- Returns:
torch.tensor: Estimated intensity \(\alpha\) of shape \((*, 1)\).