iagapov / ocelot

Main repository moved to https://github.com/ocelot-collab/ocelot
GNU General Public License v3.0
8 stars 11 forks source link

e_beam_params not working (on esrf cell) #57

Open iagapov opened 8 years ago

iagapov commented 8 years ago

in e_beam_params.py line 46: definitely wrong if elem.type != "quadrupole" or elem.l == 0: h = elem.angle/elem.l

Moreover, the beam parameter calculation crashes on ESRF-type lattice cell

(emailed to @sergey-tomin )