AccErrorNode#
- class orbit.py_linac.errors.AccErrorNode(name='no_name', type_in='Base_Error_Controller')[source]#
Bases:
orbit.lattice.AccNodeBunchTracker.AccNodeBunchTrackerThis is an abstract base class for Error nodes hierarchy. The sub-classes should implement track(self, paramsDict) method. Usually it will be call to /scr/orbit/Errors/errorbase.cc functions with parameters provided by the controller class through self.error_controller_params_func call.
Methods Summary
Sets the callable object error_controller_params_func from the error node controller.
track(paramsDict)It is tracking the bunch through the node.
trackDesign(bunch[, paramsDict, actionContainer])It tracks the design bunch through the AccErrorNode instance - does nothing.
Methods Documentation
- setErrorControllerParamFunc(error_controller_params_func)[source]#
Sets the callable object error_controller_params_func from the error node controller.