def probe_off(self): """Macro laser_off""" is_enabled = DeviceProxy('laser/ThorlabsSC10/seed').enabled if is_enabled: self.warning('The seed shutter is still enabled! Can not flip mirror!') return proxy = DeviceProxy('laser/ThorlabsMFF100/probe') proxy.Close() self.output("Probe mirror closed!")
def pump_off(self): """Macro pump_off""" proxy = DeviceProxy('laser/ThorlabsMFF100/pump') proxy.Close() self.output("Pump mirror closed!")