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
AIon mass in units of AMU. N_eNumber of electrons in bunch. atoldimsNumber of dimensions. kDriving force term: 
k_smallSmall-angle driving force term:
.lambda_smallThe wavelength for small (
) oscillations.mIon mass. nb0On-axis beam density
.q_labelrtolsig_xThe R.M.S. sig_xiLongitudinal R.M.S. sig_yThe R.M.S. speciesThe species of gas used (see periodictable.core.Element).Methods
h(q)lambda_large(y0)The wavelength for large (
) oscillations.omega_big(q0)q(x, q0)Numerically solved trajectory function for initial conditons
and
.