RF_AxisFieldsStore#
- class orbit.py_linac.lattice.RF_AxisFieldsStore[source]#
Bases:
objectThe dictionary with the axis field Functions with the input file names as keys. This is a collection of the static methods.
Attributes Summary
Methods Summary
addAxisField(fl_name[, dir_location])This method add to the store the axis RF field for the RF gap node.
addAxisFieldsForAccSeq(accLattice, ...[, ...])This method add to the store the axis RF fields of all RF gap nodes (BaseRF_Gap class instance with "EzFile" parameter) from the set of accSeqences.
getAxisFieldFunction(fl_name)This method returns the Function with the RF axis field for a particular name of the file.
getSize()This method returns the number of Functions with the RF axis fields in this store.
Attributes Documentation
- static_axis_field_dict = {}#
Methods Documentation
- classmethod addAxisField(fl_name, dir_location='')[source]#
This method add to the store the axis RF field for the RF gap node. The dir_location string variable will be added to the fl_name to get the file name. Returns the axis RF field function.
- classmethod addAxisFieldsForAccSeq(accLattice, accSeqNamesList, dir_location='')[source]#
This method add to the store the axis RF fields of all RF gap nodes (BaseRF_Gap class instance with “EzFile” parameter) from the set of accSeqences. The dir_location string variable will be added to the rf_gap.getParam(“EzFile”) to get the file names.