.. java:import:: java.util Timer .. java:import:: java.util TimerTask .. java:import:: org.micromanager.internal.graph GraphData Grapher ======= .. java:package:: ch.epfl.leb.alica.workers :noindex: .. java:type:: class Grapher Wrapped around GraphData for easier processing :author: Marcel Stefko Constructors ------------ Grapher ^^^^^^^ .. java:constructor:: public Grapher(int n_points) :outertype: Grapher Initialize a grapher with set length of point plotting :param n_points: no. of points to be plotted Methods ------- addDataPoint ^^^^^^^^^^^^ .. java:method:: public void addDataPoint(double value) :outertype: Grapher Add the next point to the grapher :param value: value to be added getGraphData ^^^^^^^^^^^^ .. java:method:: public GraphData getGraphData() :outertype: Grapher Return GraphData which can then be plotted :return: GraphData