McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL Niels Bohr Institute DTU Physics

McXtrace

About McXtrace
 Publications
 Project Partners
 Project People
 Goal

Download
 Components

Documentation
 Wiki (GitHub)
 Commands
 Manual
 Tutorial

Mailing list

Links

Code-repository (GitHub)

Search


McXtrace: Wiggler

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

The Wiggler Component

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
verbose if nonzero, output extra information0
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

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-01-24 12:07:05


Last Modified: Monday, 24-Jan-2022 12:07:05 CET
Search website mailinglist archive GitHub repos