prysm.degredations

Degredations in the image chain.

prysm.degredations.smear_ft(fx, fy, width, angle)

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)

  • angle (float) – angle w.r.t the X axis of the smear, degrees

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 scale

  • scale (float) – scale of the jitter

Returns

transfer function of the jitter

Return type

numpy.ndarray