DefaultFluorophore¶
-
public class
DefaultFluorophore
extends AbstractEmitter implements Fluorophore¶ A general fluorescent molecule which emits light.
Author: Marcel Stefko
Constructors¶
DefaultFluorophore¶
-
public
DefaultFluorophore
(Camera camera, double signal, StateSystem state_system, int start_state, double x, double y)¶ Initialize fluorophore and calculate its pattern on camera
Parameters: - camera – Camera used for calculating diffraction pattern
- signal – No of photons per frame.
- state_system – Internal state system for this fluorophore
- start_state – Initial state number
- x – x-position in pixels
- y – y-position in pixels
DefaultFluorophore¶
-
public
DefaultFluorophore
(PSFBuilder psfBuilder, double signal, StateSystem state_system, int start_state, double x, double y, double z)¶ Initialize fluorophore and calculate its pattern on camera
Parameters: - psfBuilder – The Builder for calculating microscope PSFs.
- signal – Number of photons per frame.
- state_system – Internal state system for this fluorophore
- start_state – Initial state number
- x – x-position in pixels
- y – y-position in pixels
- z – z-position in pixels
Methods¶
isBleached¶
-
public boolean
isBleached
()¶ Informs if this emitter switched into the irreversible bleached state.
Returns: boolean, true if emitter is bleached
isOn¶
-
public boolean
isOn
()¶ Returns the current state of the emitter (on or off), but does not inform if this emitter is also bleached!
Returns: true-emitter is on, false-emitter is off
nextExponential¶
-
protected final double
nextExponential
(double mean)¶ Sample an random number from an exponential distribution
Parameters: - mean – mean of the distribution
Returns: random number from this distribution