4.1. PWFA

class scisalt.PWFA.Match(plasma, E, emit_n)[source]

Given a plasma of type Plasma and a beam of energy E in GeV and normalized emittance emit_n in SI units, calculates match parameters

beta(E)[source]

\beta function of matched beam

emit_n

Emittance of beam

gamma

Relativistic \gamma of beam

sigma

Spot size of matched beam

class scisalt.PWFA.Plasma(n_p=None, n_p_cgs=None)[source]

A class for relating plasma density to plasma frequency \omega_p and ion focusing force.

Input either:

  • Plasma density n_p in SI units
  • Plasma density n_p_cgs in CGS units
k_ion(E)[source]

Geometric focusing force due to ion column for given plasma density as a function of E

n_p

Plasma density in SI units

n_p_cgs

Plasma density in CGS units

w_p

Plasma frequency \omega_p for given plasma density