Beamline elements#

Field elements#

FieldElement(length, dt_bunch[, ...])

Generic class for any beamline element based on field tracking.

PlasmaStage(length, density[, ...])

Main class for defining a plasma acceleration stage.

PlasmaRamp(length[, profile, ramp_type, ...])

Class defining a plasma density ramp.

ActivePlasmaLens(length, foc_strength[, ...])

Class defining an active plasma lens.

Transfer map elements#

TMElement([length, theta, k1, k2, ...])

Base class for all elements where the tracking is performed using transfer maps.

Drift([length, gamma_ref, csr_on, n_out, order])

Defines a drift space where the tracking is performed by transfer matrices up to second order.

Dipole([length, theta, gamma_ref, csr_on, ...])

Defines a dipole where the tracking is performed by transfer matrices up to second order.

Quadrupole([length, k1, gamma_ref, csr_on, ...])

Defines a quadrupole where the tracking is performed by transfer matrices up to second order.

Sextupole([length, k2, gamma_ref, csr_on, ...])

Defines a sextupole where the tracking is performed by transfer matrices up to second order.