PSFBuilder

public interface PSFBuilder

Defines the Builder interface for constructing PSFs. Passing Builders instances, rather than PSF instances, to the simulation allows the PSF to be constructed at different times during the simulation. For example, one might set basic parameters like the wavelength in the beginning of the simulation and set the emitter’s z-position immediately before a frame is computed. This means the simulation can dynamically create new PSF instances in response to changing simulation parameters.

Author:Kyle M. Douglass

Methods

FWHM

public PSFBuilder FWHM(double FWHM)

The Gaussian approximation’s FWHM for this PSF.

NA

public PSFBuilder NA(double NA)

The numerical aperture of the objective.

build

public PSF build()

Builds a new instance of the PSF model.

Returns:The PSF model.

eX

public PSFBuilder eX(double eX)

Sets the emitter’s x-position.

Parameters:
  • eX – The emitter’s x-position. [pixels]

eY

public PSFBuilder eY(double eY)

Sets the emitter’s y-position.

Parameters:
  • eY – The emitter’s y-position. [pixels]

eZ

public PSFBuilder eZ(double eZ)

Sets the emitter’s z-position.

Parameters:
  • eZ – The emitter’s z-position. [pixels]

resLateral

public PSFBuilder resLateral(double resLateral)

Object space pixel size

stageDisplacement

public PSFBuilder stageDisplacement(double stageDisplacement)

Sets the stage displacement for axially-dependent PSFs.

wavelength

public PSFBuilder wavelength(double wavelength)

Wavelength of the light.