McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL DTU Physics

McXtrace

About McXtrace
 Publications
 Project Partners
 Project People
 Goal

Download
 Components

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Mailing list

Links

Search

Code-repository (GitHub)

Report bugs (GitHub)


McXtrace: Undulator

[ Identification | Description | Input parameters | Output parameters | Links ]

The Undulator Component

Model of an undulator source

Identification

  • Site:
  • Author: Erik B. Knudsen
  • Origin: DTU Physics
  • Date: May, 2013.

Description

A undulator source model based on the derivation by K.J. Kim, AIP, conf. proc., 184, 1989. doi:10.1063/1.38046.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
verbose if nonzero, output extra information.0
E0keVCenter of emitted energy spectrum (overrides lambda0).0
dEkeVHalf-width of emitted energy spectrum.0
phase Initial phase of radiation.0
randomphase If !=0 phase will be random (I.e. the emitted radiation is completely incoherent).1
EeGeVStorage ring electron energy [typically a few GeV).2.4
dEe Relative electron energy beam spread (sigma/Ee).0
IeARing current.0.4
tbunchsBunch length. 0 means continous source.0
t0sDelay of the first bunch from t=0.0
BTPeak magnet field strength. Overrides K.0
K Dimensionless undulator parameter.0
gapmUndulator gap. If > gap_min the actual magnetic field strength is < B. Currently ignored.1e-3
Nper Number of magnetic periods in the undulator.1
lumMagnetic period length of the undulator.16e-3
sigeymElectron ring beam size in vertical plane (rms).0
sigexmElectron ring beam size in horizontal plane (rms).0
sigepxradElectron ring beam horizontal divergence (rms).0
sigepyradElectron ring beam vertical divergence (rms).0
focus_xwmWidth of target window.0
focus_yh0
distmDistance from source plane to target window along the optical axis.1
gauss_t0
quick_integ if nonzero, use faster (but less accurate) integration scheme.0
E1stkeVEnergy of the fundmental (1st) undulator harmonic.0

Output parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
prms
alpha
MELE

Links


[ Identification | Description | Input parameters | Output parameters | Links ]

Generated on 2022-02-07 21:31:39


Last Modified: Wednesday, 11-May-2022 22:46:11 CEST
Search website mailinglist archive GitHub repos