beginning[beta_a] = 10. ! m a-mode beta function beginning[beta_b] = 10. ! m b-mode beta function beginning[e_tot] = 10e6 ! eV Or can set p0c parameter[geometry] = open ! or closed parameter[particle] = electron ! Default is positron d: drift, L = 0.5 b: sbend, L = 0.5, g = 1 ! g = 1 / bending_radius q: quadrupole, L = 0.6, k1 = 0.23 lat: line = (d, b, q) ! List of lattice elements use, lat ! Line used to construct the lattice