prysm.degredations#
Degredations in the image chain.
- prysm.degredations.smear_ft(fx, fy, width, height)#
Analytic Fourier Transform (OTF) of smear.
- Parameters:
fx (numpy.ndarray) – X spatial frequencies, units of reciprocal width
fy (numpy.ndarray) – Y spatial frequencies, units of reciprocal width
width (float) – width of the smear, units of length (e.g. um)
height (float) – height of the smear, units of length (e.g. um)
- Returns:
transfer function of the smear
- Return type:
numpy.ndarray
- prysm.degredations.jitter_ft(fr, scale)#
Analytic Fourier transform (OTF) of jitter.
- Parameters:
fr (numpy.ndarray) – radial spatial frequency, units of reciprocal length, e.g. cy/mm
scale (float) – scale of the jitter, in same units as “dx” e.g., if fr has units cy/mm, then scale has units mm
- Returns:
transfer function of the jitter
- Return type:
numpy.ndarray