Simulator¶
-
public interface
Simulator
¶ The interface that defines everything that a Simulator should do.
Author: Marcel Stefko, Kyle M. Douglass
Methods¶
getControlSignal¶
-
public double
getControlSignal
()¶ Returns currently set control signal of the generator (e.g. laser power settings).
Returns: control signal value
getCustomParameters¶
getImageCount¶
-
public int
getImageCount
()¶ Returns the number of images simulated. Because the simulation can advance without generating an image, this value will be less than or equal to the number of simulation time steps. Use
incrementTimeStep()
to advance the simulation one time step without generating an image.Returns: The number of images that have been simulated.
getNextImage¶
getObjectSpacePixelSize¶
-
public double
getObjectSpacePixelSize
()¶ Returns: length of one pixel side in micrometers
getShortTrueSignalDescription¶
getSimulationState¶
getStack¶
getTrueSignal¶
-
public double
getTrueSignal
(int image_no)¶ Returns the actual value of signal (if applicable) for given image.
Parameters: - image_no – 1-based image number in history
Returns: value of signal (e.g. no. of active emitters)
incrementTimeStep¶
-
public void
incrementTimeStep
()¶ Increments the simulation by one time step without creating an image.