pysrw.configuration

pysrw.configuration#

Constants, simulation variables and configuration parameters.

Module Attributes

PART_DATA

Mass (in GeV) and charge (in elementary units) of known particles.

MAG_INTERP

the interpolation strategy to adapt the passed field map to the mesh of the magnet object.

SR_APPROX

computation method for simulation of SR emission.

STOKES_APPROX

approximation method for stokes parameter calculation.

POL

polarization states.

Classes

CONFIG([PART_TYPE, PART_MASS, PART_CHARGE, ...])

A dataclass to store the simulation parameters.