McXtrace logo

McXtrace - An X-ray ray-trace simulation package

ESRF; SAXSLAB Niels Bohr Institute DTU Physics

McXtrace

Download
 Components
 Linux Installation (deb/rpm)
 Mac OSX Installation
 Unix Install (src code)
 Windows Installation

Project Status
 Project Partners
 Project People
 Goal

Mailing list

Links

Publications

Minutes of Meetings

McXtrace Art

About McXtrace

Documentation
 Commands
 Tutorial

Search


McXtrace: Wiggler Component

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

The Wiggler Component

Model of a wiggler source

Identification

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

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.
Name Unit Description Default
verbose if nonzero, output extra information 0
E0 overrides lambda0 [keV] Center of emitted energy spectrum 0
dE keV Half-width of emitted energy spectrum 0
lambda0 AA Center of emitted wavelength spectrum 0
dlambda AA Half-width of emitted wavelength spectrum -1
phase Initial phase of radiation. 0
randomphase I.e. the emitted radiation is completely incoherent [ ] If !=0 phase will be random 1
Ee typically a few GeV [GeV] Storage ring electron energy 2.4
Ie A Ring current 0.4
tbunch s Bunch length. 0 means continous source. 0
t0 s Delay of the first bunch from t=0 0
B T Peak magnet field strength 1.6
K Dimensionless undulator parameter. overrides B. 3
gap m Wiggler gap. 1e-3
Nper Number of magnetic periods in the wiggler 1
length m Length of the Wiggler. 1
sigey rms [ ] Electron ring beam size in vertical plane 0
sigex rms [ ] Electron ring beam size in horizontal plane 0
focus_xw m Width of target window 0
focus_yh 0
dist m Distance from source plane to target window along the optical axis 1
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

Name Unit Description Default
prms  
alpha  
MELE  

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Tue Nov 26 12:17:24 2019


Last Modified: Tuesday, 26-Nov-2019 13:17:24 CET
Search website mailinglist archive SVN repos McCode Trac