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)


McStas: Wiggler

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

The Wiggler Component

Release: McXtrace 1.2 Model of a wiggler source

Identification

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

Description

A source model based on the derivation from B.D. Patterson, Am. J. Phys. 79, 1046 (2011); doi: 10.1119/1.3614033

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
E0keVCenter of emitted energy spectrum (overrides lambda0)0
dEkeVHalf-width of emitted energy spectrum0
lambda0AACenter of emitted wavelength spectrum0
dlambdaAAHalf-width of emitted wavelength spectrum-1
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
IeARing current0.4
tbunchsBunch length. 0 means continous source.0
t0sDelay of the first bunch from t=00
BTPeak magnet field strength1.6
K Dimensionless undulator parameter. overrides B.3
gapmWiggler gap.1e-3
Nper Number of magnetic periods in the wiggler1
lengthmLength of the Wiggler.1
sigey Electron ring beam size in vertical plane (rms)0
sigex Electron ring beam size in horizontal plane (rms)0
focus_xwmWidth of target window0
focus_yh0
distmDistance from source plane to target window along the optical axis1
gauss_t if 0 the target window will be sampled uniformly and the weight adjusted accordingly, otherwise we will use a gaussian sampling scheme.0
verbose if nonzero, output extra information0

Output parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault

Links


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

Generated on 2022-02-07 20:46:44


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