def locked(self): """ Gets the key switch lock status :return: `True` if key switch is locked, `False` otherwise :type: `bool` """ return ctbool(self.reference("front-key-locked"))
def interlock(self): """ Gets the interlock switch open state :return: `True` if interlock switch is open, `False` otherwise :type: `bool` """ return ctbool(self.reference("interlock-open"))
def tec_status(self): """ Gets the TEC status of the laser :return: The TEC status of the specified laser :type: `bool` """ return ctbool(self.parent.reference(self.name + ":tec:ready"))
def interlock(self): """ Gets the interlock switch open state :return: `True` if interlock switch is open, `False` otherwise :type: `bool` """ return ctbool(self.reference("interlock-open"))
def locked(self): """ Gets the key switch lock status :return: `True` if key switch is locked, `False` otherwise :type: `bool` """ return ctbool(self.reference("front-key-locked"))
def tec_status(self): """ Gets the TEC status of the laser :return: The TEC status of the specified laser :type: `bool` """ return ctbool(self.parent.reference(self.name + ":tec:ready"))
def enable(self): """ Gets/sets the enable/disable status of the laser. Value of `True` is for enabled, and `False` for disabled. :return: Enable status of the specified laser :type: `bool` """ return ctbool(self.parent.reference(self.name + ":emission"))
def mode_hop(self): """ Gets whether the laser has mode-hopped :return: Mode-hop status of the specified laser :type: `bool` """ response = self.parent.reference(self.name + ":charm:reg:mh-occurred") return ctbool(response)
def enable(self): """ Gets/sets the enable/disable status of the laser. Value of `True` is for enabled, and `False` for disabled. :return: Enable status of the specified laser :type: `bool` """ return ctbool(self.parent.reference(self.name + ":emission"))
def enable(self): """ is the laser lasing? :return: """ return ctbool(self.reference("emission"))
def enable(self): """ is the laser lasing? :return: """ return ctbool(self.reference("emission"))