def read_threshold_gain(self, attr): gain = _PilatusCamera.gain() if gain is None: gain = "not set" else: gain = AttrHelper.getDictKey(self.__ThresholdGain, gain) attr.set_value(gain)
def read_threshold_gain(self, attr): gain = _PilatusCamera.gain() if gain is None: gain = "not set" else: gain = AttrHelper.getDictKey(self.__ThresholdGain,gain) attr.set_value(gain)
def read_readout_geometry(self, attr): if _PilatusCamera.hasRoiCapability(): image = _CtControl.image() hw_image = image.getHard() roi = hw_image.getRealRoi() rmode = AttrHelper.getDictKey(self.__ReadoutRoi, roi) attr.set_value(rmode) else: attr.set_value('UNKNOWN')
def read_gateMode(self, attr): mode = _Mythen3Camera.getGateMode() attr.set_value(AttrHelper.getDictKey(self.__Switch, mode))
def read_continuousTrigger(self, attr): mode = _Mythen3Camera.getContinuousTrigger() attr.set_value(AttrHelper.getDictKey(self.__Switch, mode))
def read_rateCorrection(self, attr): mode = _Mythen3Camera.getRateCorrection() attr.set_value(AttrHelper.getDictKey(self.__Switch, mode))
def read_badChannelInterpolation(self, attr): mode = _Mythen3Camera.getBadChannelInterpolation() attr.set_value(AttrHelper.getDictKey(self.__Switch, mode))
def read_output2_signal_type(self, attr): sig_type = _RayonixHsInterface.getOutputSignalType(RayonixHsAcq.CHANNEL_2) val = AttrHelper.getDictKey(self.__OutputSignalType, sig_type) attr.set_value(val)
def read_useRawReadout(self, attr): mode = _Mythen3Camera.getUseRawReadout() attr.set_value(AttrHelper.getDictKey(self.__Switch, mode))
def read_cam_state(self, attr): status = _PilatusCamera.status() status = AttrHelper.getDictKey(self.__CamStatus, status) attr.set_value(status)
def read_fill_mode(self, attr): gapfill = _PilatusCamera.gapfill() gapfill = AttrHelper.getDictKey(self.__FillMode,gapfill) attr.set_value(gapfill)
def read_dataSource(self, attr): attr.set_value([ AttrHelper.getDictKey(self.PyDataSrc, _Xspress3Camera.getDataSource(i)) for i in range(_Xspress3Camera.getNumChan()) ])
def read_fill_mode(self, attr): gapfill = _PilatusCamera.gapfill() gapfill = AttrHelper.getDictKey(self.__FillMode, gapfill) attr.set_value(gapfill)
def read_triggered(self, attr): mode = _Mythen3Camera.getTriggered() attr.set_value(AttrHelper.getDictKey(self.__Switch, mode))
def read_outputSignalPolarity(self, attr): mode = _Mythen3Camera.getOutputSignalPolarity() attr.set_value(AttrHelper.getDictKey(self.__Polarity, mode))
def read_nbits(self, attr): nbits = _Mythen3Camera.getNbits() attr.set_value(AttrHelper.getDictKey(self.__Nbits, nbits))
def read_output2_id(self, attr): id = _RayonixHsInterface.getOutputSignalID(RayonixHsAcq.CHANNEL_2) val = AttrHelper.getDictKey(self.__OutputSignalID, id) attr.set_value(val)
def read_hwStatus(self, attr): status = _Mythen3Camera.getHwStatus() attr.set_value(AttrHelper.getDictKey(self.__Status, status))
def read_ComputingMode(self, attr): value_read = self.__peakFinderMgr.getComputingMode() attr.set_value(AttrHelper.getDictKey(self.__ComputingMode, value_read))
def read_type(self, attr): type = _HexitecCamera.getType() attr.set_value(AttrHelper.getDictKey(self.__ProcessType, type))