McXtrace logo

McXtrace - An X-ray ray-trace simulation package

ESRF; SAXSLAB Niels Bohr Institute DTU Physics



Project Status
 Project Partners
 Project People

Mailing list



Minutes of Meetings

McXtrace Art

About McXtrace



McXtrace: Bending_magnet Component

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

The Bending_magnet Component

Model of a bending magnet source


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


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
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 Magnet field strength 1.6
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


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

Generated automatically by McDoc, Peter Willendrup <> / Mon Aug 16 15:54:47 2021

Last Modified: Monday, 16-Aug-2021 17:54:47 CEST
Search website mailinglist archive SVN repos McCode Trac