DefaultSimulator

public class DefaultSimulator extends AbstractSimulator

The basic simulation engine from which others may be derived.

Author:Marcel Stefko

Constructors

DefaultSimulator

public DefaultSimulator(Microscope microscope)

Initialize the generator.

Parameters:
  • microscope

Methods

getControlSignal

public double getControlSignal()

getCustomParameters

public HashMap<String, Double> getCustomParameters()

getFOVSize

public double getFOVSize()
Returns:The size of the FOV in square object-space units.

getNextImage

public ImageS getNextImage()

getObjectSpacePixelSize

public double getObjectSpacePixelSize()
Returns:Length of one pixel side in object-space units.

getShortTrueSignalDescription

public String getShortTrueSignalDescription()

getTrueSignal

public double getTrueSignal(int image_no)

incrementTimeStep

public void incrementTimeStep()

Advance the simulation by one time step (i.e. one frame). Simulates a frame but does not create an image.

setControlSignal

public void setControlSignal(double value)

setCustomParameters

public void setCustomParameters(HashMap<String, Double> map)