pysrw.configuration.SR_APPROX#
- pysrw.configuration.SR_APPROX = {'auto-undulator': 1, 'auto-wiggler': 2, 'manual': 0}#
computation method for simulation of SR emission. With ‘manual’ (discouraged), the simulation parameters are not optimized by the code and the result may significantly depend on the user input values. The ‘auto-undulator’ mode (default) is often the best choice for most simulations involving small deflections, such as undulators or weak magnets. The ‘auto-wiggler’ mode is the most general case and it is normally needed for high-deflection magnets (wigglers or strong dipoles) and results in longer simulation time.
- Type:
str