def __init__(self, PVbase, fee_filts=[], lusi_filts=[0,2,3,4,5,6,7], # fee_filts=[3,4], lusi_filts=[0,2,3,4,5], # fee_filts=[3,4,5,6], lusi_filts=[3,4,5], # fee_filts=[3,4,5,6,7], lusi_filts=[4,5], eswitch=12.8, n_att=None): from blinst import linac from blinst import feeatt from blinst import lusiatt self._fee_filts = fee_filts self._lusi_filts = lusi_filts lcls_linac = linac.Linac() self._feeatt = feeatt.Feeatt(lcls_linac) self._lusiatt = lusiatt.Lusiatt(PVbase, eswitch=eswitch, n_att=n_att)
# IPM (intensity position monitor) devices # for the XPP beamline (@LCLS) # # Author: Bob Nagler (SLAC) # Created: February, 2012 # Modifications: # February, 2012 MC # first version from blutil import estr from blutil.belenses import * from blinst import linac from blutil import config import time lcls_linac = linac.Linac() class BeLens: """ Class that controls the Be compound refractive focussing system""" def __init__(self, mot_x, mot_y, mot_z, lens_set_file=config.DEFAULT_LENS_SET, setposx=None, setposy=None, fwhm_unfoc=800e-6, desc="Be Lens System"): self.x = mot_x self.y = mot_y