py-orbit
py-orbit copied to clipboard
Some changes in mad_parser.py and teapot.py
Firstly, an improvement for function readMad() was made. Now, Madx lines like 'Q01:QUADRUPOLE,L=1.0,K1:=kQD1;' could be read correctly. Secondly, an attempt for using 'fint' and 'hgap' was made, but the correctness of this attempt could not be guaranteed.