| | |
- match_twiss_emittance(emittance, alpha, beta)
- Calculate input parameters for a matched beam of given width
using Courant-Snyder (Twiss) parameters. Returns
(width,width_prime,r),
where width and width_prime are the width in the coordinate and
its conjugate and r is the correlation coefficient.
- match_twiss_width(width, alpha, beta)
- Calculate input parameters for a matched beam of given width
using Courant-Snyder (Twiss) parameters. Returns
(width_prime,r,emittance),
where width_prime is the width in the conjugate coordinate and r
is the correlation coefficient.
- sqrt(...)
- sqrt(x)
Return the square root of x.
|