signal_conv

colibri.optics.functional.signal_conv(image, psf)[source]

This function applies the convolution of an image with a Point Spread Function (PSF) in the signal domain.

\[g(x, y) = f(x, y) * h(x, y)\]

where \(f(x, y)\) is the input image, \(h(x, y)\) is the PSF, and \(g(x, y)\) is the convolved output.

Parameters:
  • image (torch.Tensor) – Image to simulate the sensing (B, L, M, N)

  • psf (torch.Tensor) – Point Spread Function (1, L, M, N)

Returns:

Measurement (B, 1, M, N)

Return type:

torch.Tensor