Replace_Quads_to_OverlappingQuads_Nodes#
- orbit.py_linac.lattice_modifications.Replace_Quads_to_OverlappingQuads_Nodes(accLattice, z_step, accSeq_Names=[], quad_Names=[], EngeFunctionFactory=<function GetEngeFunction>)[source]#
Function will replace Quad nodes by OverlappingQuadsNode nodes. The replacement will be performed only for specified sequences. If the quad names list is empty, all of them will be replaced! z_step defines the longitudinal step during the tracking through the elements with overlapping fields. The magnetic field longitudinal dependency in quads will be described by Enge Functions that will be produced by the GetEngeFunction function by default. The user can supply his/her own factory for these functions.