slactrac.PWFA.Ions1D

class slactrac.PWFA.Ions1D(species, N_e, sig_x, sig_y, sig_xi, r0_big=None, n_samp=1000, order=5, rtol=None, atol=None)[source]

A class to facilitate calculating ion motion in PWFA ion columns due to planar, infinitely-long gaussian beams.

New in version 1.7.

Attributes

A Ion mass in units of AMU.
N_e Number of electrons in bunch.
atol
dims Number of dimensions.
k Driving force term: r'' = -k \left( \frac{1-e^{-r^2/2{\sigma_r}^2}}{r} \right)
k_small Small-angle driving force term: r'' = -k_{small} r.
lambda_small The wavelength for small (r_0 < \sigma_r) oscillations.
m Ion mass.
nb0 On-axis beam density n_{b,0}.
q_label
rtol
sig_x The R.M.S.
sig_xi Longitudinal R.M.S.
sig_y The R.M.S.
species The species of gas used (see periodictable.core.Element).

Methods

h(q)
lambda_large(y0) The wavelength for large (r_0 < \sigma_r) oscillations.
omega_big(q0)
q(x, q0) Numerically solved trajectory function for initial conditons q(0) = q_0 and q'(0) = 0.