.. java:import:: ch.epfl.leb.alica.interfaces Analyzer .. java:import:: ch.epfl.leb.alica.interfaces.analyzers AnalyzerStatusPanel .. java:import:: ij.gui Roi .. java:import:: ij.process ShortProcessor .. java:import:: java.util ArrayDeque .. java:import:: java.util ArrayList AutoLaseAnalyzer ================ .. java:package:: ch.epfl.leb.alica.acpack.analyzers.autolase :noindex: .. java:type:: class AutoLaseAnalyzer This class estimates the density of activations. The density at a particular point relates to the maximum time a certain pixel is "on", or above a certain threshold. The density is calculated as a moving average 30 frames. The code only works for 2 bytes per pixel cameras for now. :author: Thomas Pengo Fields ------ currentDensity ^^^^^^^^^^^^^^ .. java:field:: double currentDensity :outertype: AutoLaseAnalyzer running ^^^^^^^ .. java:field:: boolean running :outertype: AutoLaseAnalyzer stopping ^^^^^^^^ .. java:field:: boolean stopping :outertype: AutoLaseAnalyzer Constructors ------------ AutoLaseAnalyzer ^^^^^^^^^^^^^^^^ .. java:constructor:: public AutoLaseAnalyzer(int threshold) :outertype: AutoLaseAnalyzer Methods ------- getCurrentValue ^^^^^^^^^^^^^^^ .. java:method:: public double getCurrentValue() :outertype: AutoLaseAnalyzer Returns error signal value from AutoLase :return: estimated averaged max emitter density getRawCurrentValue ^^^^^^^^^^^^^^^^^^ .. java:method:: public double getRawCurrentValue() :outertype: AutoLaseAnalyzer Returns raw error signal value from AutoLase :return: estimated max emitter density for most recent frame nextImage ^^^^^^^^^ .. java:method:: public void nextImage(ShortProcessor sp) :outertype: AutoLaseAnalyzer Analyzes next image and adjusts internal state. :param image: image to be analyzed setParameters ^^^^^^^^^^^^^ .. java:method:: public void setParameters(int threshold) :outertype: AutoLaseAnalyzer setROI ^^^^^^ .. java:method:: public void setROI(Roi roi) :outertype: AutoLaseAnalyzer