PSF

public interface PSF

Interface that defines the behavior of a microscope point spread function.

Author:Kyle M. Douglass

Methods

generatePixelSignature

public double generatePixelSignature(int pixelX, int pixelY)

Computes the expected value for the PSF integrated over a pixel.

Parameters:
  • pixelX – The pixel’s x-position.
  • pixelY – The pixel’s y-position.
Throws:
  • org.apache.commons.math.MathException
Returns:

The relative probability of a photon hitting this pixel.

generateSignature

public void generateSignature(ArrayList<Pixel> pixels)

Computes the digitized PSF across all pixels within the emitter’s vicinity.

Parameters:
  • pixels – The list of pixels spanned by the emitter’s image.

getRadius

public double getRadius()

Returns the radius of the circle that fully encloses the PSF. This value is used to determine how many pixels within the vicinity of the emitter contribute to the PSF. It is necessary because many PSF models extend to infinity in one or more directions.

Returns:The radius of the PSF in pixels.