spyrit.core.prep.UnsplitRescaleEstim.mean_estim

UnsplitRescaleEstim.mean_estim(y)[source]

(Not tested yet) Estimate the gain from the mean of the raw measurements.

Important

This method is only to be called on measurements acquired with split measurement operators.

Args:

y (torch.tensor): The measurements with shape \((*, 2M)\), where \(*\) can be any number of dimensions and \(M\) matches the number of measurements defined by meas_op.M.

Returns:

torch.tensor: The estimated gain value of shape \((*, 1)\).