Replace_BaseRF_Gap_to_AxisField_Nodes#

orbit.py_linac.lattice_modifications.Replace_BaseRF_Gap_to_AxisField_Nodes(accLattice, z_step, dir_location='', accSeq_Names=[], cavs_Names=[])[source]#

Function will replace BaseRF_Gap nodes by AxisFieldRF_Gap. It is assumed that AxisFieldRF_Gap nodes do not overlap any others nodes (except Drifts). The replacement will be performed only for specified sequences. If the cavities list is empty, all of them will be replaced! If you want to replace the nodes in a particular cavity please specify it! The dir_location is the location of the directory with the axis field files.