.. java:import:: java.util ArrayList .. java:import:: org.apache.commons.math MathException .. java:import:: org.apache.commons.math.special Erf .. java:import:: ch.epfl.leb.sass.models.emitters.internal Pixel .. java:import:: ch.epfl.leb.sass.models.psfs PSF .. java:import:: ch.epfl.leb.sass.models.psfs PSFBuilder .. java:import:: java.util.logging Level .. java:import:: java.util.logging Logger Gaussian2D ========== .. java:package:: ch.epfl.leb.sass.models.psfs.internal :noindex: .. java:type:: public final class Gaussian2D implements PSF Generates a digital representation of a two-dimensional Gaussian PSF. :author: Kyle M. Douglass Methods ------- generatePixelSignature ^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Override public double generatePixelSignature(int pixelX, int pixelY) throws MathException :outertype: Gaussian2D Computes the relative probability of receiving a photon at the pixel. (emitterX, emitterY). The z-position of the emitter is ignored. :param pixelX: The pixel's x-position. :param pixelY: The pixel's y-position. :throws org.apache.commons.math.MathException: :return: The probability of a photon hitting this pixel. generateSignature ^^^^^^^^^^^^^^^^^ .. java:method:: public void generateSignature(ArrayList pixels) :outertype: Gaussian2D Generates the digital signature of the emitter on its nearby pixels. :param pixels: The list of pixels spanned by the emitter's image. getFWHM ^^^^^^^ .. java:method:: public double getFWHM() :outertype: Gaussian2D getRadius ^^^^^^^^^ .. java:method:: @Override public double getRadius() :outertype: Gaussian2D Computes the half-width of the PSF for determining which pixels contribute to the emitter signal. For a 2D Gaussian, the effective width used here is three times the standard deviation. :return: The width of the PSF. setFWHM ^^^^^^^ .. java:method:: public void setFWHM(double fwhm) :outertype: Gaussian2D