def setUpClass(cls): config.load('JungFrau', 'FXE') cls.foam = Foam().init() cls.gui = cls.foam._gui cls.pulse_worker = cls.foam.pulse_worker
def setUpClass(cls): config.load(*random.choice([('LPD', 'FXE'), ('DSSC', 'SCS')])) cls.foam = Foam().init() cls.gui = cls.foam._gui cls.train_worker = cls.foam.train_worker cls.pulse_worker = cls.foam.pulse_worker
def setUpClass(cls): config.load(*random.choice([('ePix100', 'MID'), ('FastCCD', 'SCS')])) cls.foam = Foam().init() cls.gui = cls.foam._gui cls.pulse_worker = cls.foam.pulse_worker cls.train_worker = cls.foam.train_worker
def setUpClass(cls): config.load('JungFrau', 'FXE') cls.foam = Foam().init() cls.gui = cls.foam._gui cls.train_worker = cls.foam.train_worker actions = cls.gui._tool_bar.actions() cls._action = actions[3] assert ("Image tool" == cls._action.text())
def setUpClass(cls): config.load('LPD', 'FXE') cls.foam = Foam().init() cls.gui = cls.foam._gui cls.train_worker = cls.foam.train_worker cls.pulse_worker = cls.foam.pulse_worker cls._meta = MetaProxy() actions = cls.gui._tool_bar.actions() cls._action = actions[3] assert ("Image tool" == cls._action.text())
def setUpClass(cls): config.load(*random.choice([('LPD', 'FXE'), ('DSSC', 'SCS')])) cls.foam = Foam().init() cls.gui = cls.foam._gui cls.train_worker = cls.foam.train_worker cls.pulse_worker = cls.foam.pulse_worker actions = cls.gui._tool_bar.actions() cls.poi_action = actions[4] assert "Pulse-of-interest" == cls.poi_action.text() cls.pp_action = actions[5] assert "Pump-probe" == cls.pp_action.text() cls.correlation_action = actions[6] assert "Correlation" == cls.correlation_action.text() cls.histogram_action = actions[7] assert "Histogram" == cls.histogram_action.text() cls.binning_action = actions[8] assert "Binning" == cls.binning_action.text()