spyrit.misc.sampling.meas2img2
- spyrit.misc.sampling.meas2img2(meas: ndarray, Mat: ndarray) ndarray[source]
Return multiple measurement images from multiple measurement vectors. It is essentially the same as meas2img, but the meas argument is two-dimensional.
Warning
This function is deprecated. Use spyrit.misc.sampling.meas2img instead. In meas2img, the batch dimension comes first: (B, M) instead of (M, B).
- Args:
meas : np.ndarray with shape \((M,B)\). Set of \(B\) measurement vectors of length \(M \le N^2\).
Mat : np.ndarray with shape \((N,N)\). Sampling matrix, where high values indicate high significance.
- Returns:
- Imgnp.ndarray with shape \((N,N,B)\)
Set of \(B\) images of shape \((N,N)\)