shadow4.sources.s4_light_source

Defines the shadow4 synchrotron LightSource (the base class of beanding magnet, wiggler and undulator lightsources).

It contains an electron beam and a magnetic structure and some parameters like nrays and seed.

Classes

S4LightSource([name, electron_beam, ...])

Constructor