spyrit.core.prep.UnsplitRescaleEstim.estim_alpha
- UnsplitRescaleEstim.estim_alpha(y: tensor) tensor[source]
Estimate the gain from the raw measurements.
This calls either
pinv_estim()ormean_estim()depending onself.estim_mode.- Args:
y(torch.tensor): The measurements with shape \((*, 2M)\), where \(*\) can be any number of dimensions and \(M\) matches the number of measurements defined bymeas_op.M.- Returns:
torch.tensor: The estimated gain value of shape \((*, 1)\).