def __init__(self, name = "none"): """ Constructor. Creates the base linac element. This is a superclass for all linac elements. """ AccNodeBunchTracker.__init__(self,name) self.setType("baseLinacNode") self.__linacSeqence = None
def __init__(self, name = "no name"): """ Constructor. Creates the base MATRIX element. """ AccNodeBunchTracker.__init__(self,name) self.setType("base matrix") self.matrix = Matrix(7,7)
def __init__(self, sc_calculator, name = "no name"): """ Constructor. Creates the Space Charge (SC) accelerator node element. """ AccNodeBunchTracker.__init__(self,name) self.setType("SC_Base") self.sc_length = 0. self.switcher = True self.sc_calculator = sc_calculator
def __init__(self, sc_calculator, name="no name"): """ Constructor. Creates the Space Charge (SC) accelerator node element. """ AccNodeBunchTracker.__init__(self, name) self.setType("SC_Base") self.sc_length = 0. self.switcher = True self.sc_calculator = sc_calculator
def __init__(self, name="none"): """ Constructor. Creates the base linac element. This is a superclass for all linac elements. """ AccNodeBunchTracker.__init__(self, name) self.setType("baseLinacNode") self.setParam("pos", 0.) self.__linacSeqence = None # by default we use the TEAPOT tracker module self.tracking_module = TPB
def __init__(self,name = "no_name", type_in = "Base_Error_Controller"): AccNodeBunchTracker.__init__(self,name,type_in) self.error_controller_params_func = None
def __init__(self, name="no name"): """ Constructor. Creates the base TEAPOT element. This is a superclass for all TEAPOT elements. """ AccNodeBunchTracker.__init__(self, name) self.setType("base teapot")
def __init__(self, spacecharge=0.0, length=0.0): AccNodeBunchTracker.__init__(self, name="no name TiltSol Node") self.setType("Tilt_EnvSolver") self.dLen = length self.SC = spacecharge
def __init__(self, dL=0.0, Disp=0.0): AccNodeBunchTracker.__init__(self, name="no name BS Node") self.setType("Basic_EnvSolver") self.dLen = dL self.Dispersion = Disp self.SC = 0.0
def __init__(self, name = "no name"): """ Constructor. Creates the base TEAPOT element. This is a superclass for all TEAPOT elements. """ AccNodeBunchTracker.__init__(self,name) self.setType("base teapot")