Add_drift_apertures_to_lattice#
- orbit.py_linac.lattice_modifications.Add_drift_apertures_to_lattice(accLattice, pos_start, pos_end, step, aperture_d, aprtNodes=[])[source]#
Function will add Aperture nodes at the drift nodes of the lattice between positions pos_start and pos_end with the minimal distance of ‘step’ between aperture nodes. The shape of this apertures defines here is always shape=1 which means a circle with the diameter = aperture_d in meters. It returns the list of Aperture nodes.