def __init__(self, elog=None, cspad_x = sxrmotors.user_mmn_10, pi_x = sxrmotors.user_mmn_09, yag_zoom = sxrmotors.user_dumb_32, sam_x = sxrmotors.user_mmn_08, att = sxrmotors.user_mmn_01, yag_focus = sxrmotors.user_dumb_31, yag_x = sxrmotors.user_mmn_02, yag_y = sxrmotors.user_mmn_03, objName = "IH_sikorski_1_2013", presetsfile = "/reg/neh/operator/sxropr/sxr_python/modules/experiments/presets/IH_sikorski_10_2013_presets.py"): Device.__init__(self,objName,pvBase,presetsfile) self.elog = elog self.sam_x = sam_x self.att = att self.pi_x = pi_x self.cspad_x = cspad_x self.yag_zoom = yag_zoom self.yag_focus = yag_focus self.yag_x = yag_x self.yag_y = yag_y self.motors = { "sam_x": self.sam_x, "att": self.att, "yag_x": yag_x, "yag_y": yag_y, "cspad_x": self.cspad_x, "pi_x": self.pi_x, "yag_zoom": self.yag_zoom, "yag_focus": self.yag_focus } pass
def __init__( self, elog=None, jet_x=sxrmotors.user_ims_01, cam2_focus=sxrmotors.user_ims_03, cam2_zoom=sxrmotors.user_ims_04, jet_z=sxrmotors.user_ims_05, cam1_x=sxrmotors.user_ims_06, cam1_y=sxrmotors.user_ims_07, cam1_z=sxrmotors.user_ims_08, jet_y=sxrmotors.user_ims_09, cam3_x=sxrmotors.user_ims_10, cam3_y=sxrmotors.user_ims_11, cam3_z=sxrmotors.user_ims_12, mir_y=sxrmotors.user_ims_13, cam2_x=sxrmotors.user_ims_14, cam2_y=sxrmotors.user_ims_15, cam2_z=sxrmotors.user_ims_16, cam3_focus=sxrmotors.user_dumb_29, cam3_zoom=sxrmotors.user_dumb_30, cam1_focus=sxrmotors.user_dumb_31, cam1_zoom=sxrmotors.user_dumb_32, objName="L703_Gruebel", presetsfile="/reg/neh/operator/sxropr/sxrpython_data/L703_Gruebel_presets.py" ): Device.__init__(self, objName, pvBase, presetsfile) self.elog = elog self.jet_x = jet_x self.cam2_focus = cam2_focus self.cam2_zoom = cam2_zoom self.jet_z = jet_z self.cam1_x = cam1_x self.cam1_y = cam1_y self.cam1_z = cam1_z self.jet_y = jet_y self.cam3_x = cam3_x self.cam3_y = cam3_y self.cam3_z = cam3_z self.mir_y = mir_y self.cam2_x = cam2_x self.cam2_y = cam2_y self.cam2_z = cam2_z self.cam3_focus = cam3_focus self.cam3_zoom = cam3_zoom self.cam1_focus = cam1_focus self.cam1_zoom = cam1_zoom self.cam3_h = virtualmotor.VirtualMotor( motorsobj=sxrmotors, name="cam3_h", move=self._move_cam3h, wm=self._wm_cam3h, wait=self._wait_cam3, get_ulowlim=self._get_ulowlim_cam3h, get_uhilim=self._get_uhilim_cam3h, egu="mm") self.cam3_v = virtualmotor.VirtualMotor( motorsobj=sxrmotors, name="cam3_h", move=self._move_cam3v, wm=self._wm_cam3v, wait=self._wait_cam3, get_ulowlim=self._get_ulowlim_cam3v, get_uhilim=self._get_uhilim_cam3v, egu="mm") self.mir_xfine = SaPiezo(sxrmotors, "mir_xfine", "SXR:SDC:PZM:02") self.jet_yfine = SaPiezo(sxrmotors, "jet_yfine", "SXR:SDC:PZM:01") self.motors = { "jet_x": jet_x, "cam2_focus": cam2_focus, "cam2_zoom": cam2_zoom, "jet_z": jet_z, "cam1_x": cam1_x, "cam1_y": cam1_y, "cam1_z": cam1_z, "jet_y": jet_y, "cam3_x": cam3_x, "cam3_y": cam3_y, "cam3_z": cam3_z, "mir_y": mir_y, "cam2_x": cam2_x, "cam2_y": cam2_y, "cam2_z": cam2_z, "cam3_focus": cam3_focus, "cam3_zoom": cam3_zoom, "cam1_focus": cam1_focus, "cam1_zoom": cam1_zoom, "cam3_h": self.cam3_h, "cam3_v": self.cam3_v, "mir_xfine": self.mir_xfine, "jet_yfine": self.jet_yfine } pass