slactrac.PWFA.MatchPlasma

class slactrac.PWFA.MatchPlasma(E, emit_n, sigma)[source]

Given a beam of energy E in GeV with normalized emittance emit_n in SI units and spot size sigma, calculates plasma parameters

Parameters:

E : float

Beam energy in GeV.

emit_n : float

Specified beam emittance \epsilon.

sigma : float

Specified beam spot size \sigma.

Attributes

beta The Courant-Snyder parameter \beta that is matched.
emit_n Specified beam emittance \epsilon.
gamma Relativistic \gamma of beam
n_p The plasma density in SI units.
n_p_cgs The plasma density in CGS units.
plasma The matched Plasma.