def __init__(self, monitor): EmPlotter.__init__(self, windowTitle="CTF Monitor") self.monitor = monitor self.y2 = 0. self.y1 = 100. self.win = 250 # number of samples to be ploted self.step = 50 # self.win will be modified in steps of this size self.createSubPlot(self._getTitle(), "Micrographs", "Defocus (A)") self.fig = self.getFigure() self.ax = self.getLastSubPlot() self.ax.margins(0.05) self.ax.grid(True) self.oldWin = self.win self.lines = {} self.init = True self.stop = False
def __init__(self, monitor): EmPlotter.__init__(self, windowTitle="Movie Gain Monitor") self.monitor = monitor self.y2 = 0. self.y1 = 100. self.win = 250 # number of samples to be plotted self.step = 50 # self.win will be modified in steps of this size self.createSubPlot(self._getTitle(), "", "") self.fig = self.getFigure() self.ax = self.getLastSubPlot() self.ax2 = self.ax.twinx() self.ax2.margins(0.05) self.oldWin = self.win self.lines = {} self.init = True self.stop = False
def __init__(self, monitor, nifName=None): EmPlotter.__init__(self, windowTitle="system Monitor") self.monitor = monitor self.y2 = 0. self.y1 = 100. self.win = 250 # number of samples to be ploted self.step = 50 # self.win will be modified in steps of this size self.createSubPlot(self._getTitle(), "time (hours)", "percentage (or MB for IO or NetWork)") self.fig = self.getFigure() self.ax = self.getLastSubPlot() self.ax.margins(0.05) self.ax.grid(True) self.oldWin = self.win self.lines = {} self.init = True self.stop = False self.nifName = nifName
def __init__(self, x=1, y=1, mainTitle="", **kwargs): EmPlotter.__init__(self, x, y, mainTitle, **kwargs)