forward_dd_cassi

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

Forward operator of dual disperser coded aperture snapshot spectral imager (DD-CASSI)

For more information refer to: Single-shot compressive spectral imaging with a dual-disperser architecture https://doi.org/10.1364/OE.15.014013

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

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

Returns:

Measurement with shape (B, 1, M, N)

Return type:

torch.Tensor