cavsim2d¶
cavsim2d designs and analyses axisymmetric RF cavities, such as the elliptical superconducting cavities of particle accelerators, in Python. Describe a cavity by a handful of dimensions, and cavsim2d finds its resonant modes and their figures of merit, tunes it to a frequency, computes the wake a passing bunch leaves, checks it for multipacting, optimises its shape, and quantifies how manufacturing tolerances spread the results.
Where to start¶
New to cavsim2d? Installation, then the Quickstart, then the tutorials in order.
Looking for how to do one thing? The user guide has a page for each analysis, each ending with how-to guides for specific tasks.
Need a setting or a function? The Configuration reference reference lists every setting, and the API Reference every class and method. The Glossary defines the terms.
Getting started
Tutorials
- Tutorials
- 1. Your first cavity: a pillbox
- 2. An elliptical cavity and its figures of merit
- 3. Is the mesh fine enough?
- 4. Tune a cell to a target frequency
- 5. Tune a multicell cavity
- 6. Compare designs: studies, sweeps and saved results
- 7. Wakefields and impedance
- 8. Multipacting
- 9. Shape optimisation
- 10. Uncertainty quantification
- 11. Beam lines
- 12. Your own cavity shape
User guide
Background
Validation