slactrac.PWFA.Ions2D¶
-
class
slactrac.PWFA.Ions2D(species, N_e, sig_r, 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 cylindrical, infinitely-long gaussian beams.
New in version 1.6.
Parameters: species :
periodictable.core.ElementThe plasma gas species, e.g.
periodictable.H.N_e : float
The number of electrons.
sig_r : float
The standard deviation in
.sig_xi : float
The standard deviation in
.r0_big : float
The maximum particle coordinate in
to include.n_samp : int
The number of samples.
order : int
The order to calculate to
rtol : float
A tolerance to calculate to. See
scipy.integrate.odeint.atol : float
A tolerance to calculate to. See
scipy.integrate.odeint.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_rTransverse R.M.S. sig_xiLongitudinal R.M.S. speciesThe species of gas used (see periodictable.core.Element).Methods
h(q)lambda_large(r0)The wavelength for large (
) oscillations.omega_big(q0)q(x, q0)Numerically solved trajectory function for initial conditons
and
.r_large(x, r0)Approximate trajectory function for large (
) oscillations.r_small(x, r0)Approximate trajectory function for small (
) oscillations.