pybsm.otf.functional.wavefront_OTF
- pybsm.otf.functional.wavefront_OTF(*, u: ndarray, v: ndarray, lambda0: float, pv: float, L_x: float, L_y: float) ndarray
IBSM Equation 3-31. Blur due to small random wavefront errors in the pupil.
Use with the caution that this function assumes a specific phase autocorrelation function. Refer to the discussion on random phase screens in Goodman, “Statistical Optics” for a full explanation (this is also the source cited in the IBSM documentation). As an alternative, see wavefront_OTF_2.
- Parameters:
u – angular spatial frequency coordinates (rad^-1)
v – angular spatial frequency coordinates (rad^-1)
lambda0 – wavelength (m)
pv – phase variance (rad^2) – tip: write as (2*pi*waves of error)^2 (pv is often defined at a specific wavelength (e.g. 633 nm), so scale appropriately)
L_x – correlation lengths of the phase autocorrelation function; apparently, it is common to set L_x to the aperture diameter (m)
L_y – correlation lengths of the phase autocorrelation function; apparently, it is common to set L_y to the aperture diameter (m)
- Returns:
- H:
OTF at spatial frequency (u,v) (unitless)
- WARNING:
Output can be nan if lambda0 is 0.