shadow4.sources.undulator.s4_undulator_gaussian_light_source

Undulator light source.

Computes undulator radiation distributions and samples rays according to them.

The radiation divergences (far field) are computed in polar coordinates for a more efiicient sampling.

Classes

S4UndulatorGaussianLightSource([name, ...])

Defines an undulator light source and implements the mechanism of sampling rays.