ocelot-collab / ocelot

OCELOT is a multiphysics simulation toolkit designed for studying FEL and storage ring-based light sources.
GNU General Public License v3.0
85 stars 58 forks source link

pytest test fixture for Ming Xie estimator #244

Closed ZeugAusHH closed 4 months ago

ZeugAusHH commented 4 months ago

In ocelot/rad/fel.py there was a disabled test case, move it to dedicated pytest test.

Compares result of OCELOT Ming Xie estimator against example given in M. Xie, "Exact and variational solutions of 3D eigenmodes in high gain FELs", Nucl. Instruments Methods Phys. Res. Sect. A Accel. Spectrometers, Detect. Assoc. Equip., vol. 445, no. 1--3, pp. 59--66, 2000; DOI https://doi.org/10.1016/S0168-9002(00)00114-5