forward_sd_cassi

colibri.optics.functional.forward_sd_cassi(x, ca)[source]

Forward operator of single disperser coded aperture snapshot spectral imager (SD-CASSI)

For more information refer to: Compressive Coded Aperture Spectral Imaging: An Introduction: https://doi.org/10.1109/MSP.2013.2278763

Parameters:
  • x (torch.Tensor) – Spectral image with shape (B, L, M, N)

  • ca (torch.Tensor) – Coded aperture with shape (1, 1, M, N)

Returns:

Measurement with shape (B, 1, M, N + L - 1)

Return type:

torch.Tensor