pybsm.otf.functional.gaussian_OTF
- pybsm.otf.functional.gaussian_OTF(*, u: ndarray, v: ndarray, blur_size_x: float, blur_size_y: float) ndarray
A real-valued Gaussian OTF.
This is useful for modeling systems when you have some general idea of the width of the point-spread-function or perhaps the cutoff frequency. The blur size is defined to be where the PSF falls to about .043 times it’s peak value.
- Parameters:
u – angular spatial frequency coordinates (rad^-1)
v – angular spatial frequency coordinates (rad^-1)
blur_size_x – angular extent of the blur spot in image space (radians)
blur_size_y – angular extent of the blur spot in image space (radians)
- Returns:
- H:
gaussian optical transfer function
- NOTE:
The cutoff frequencies (where the MTF falls to .043 cycles/radian) are the inverse of the blurSizes and the point spread function is therefore: psf(x,y) = (fxX*fcY)*exp(-pi((fxX*x)^2+(fcY*y)^2))