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: Source_spectra Component

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

The Source_spectra Component

Specialized X-ray source for reading in SPECTRA source definitions

Identification

  • Author: Erik Knudsen
  • Origin: Risoe
  • Date: November 11, 2009
  • Version: $Revision$

Description


This is a source component for connecting SPECTRA -output files with McXtrace.

SPECTRA is an application software to calculate optical properties of synchrotron 
radiation (SR) emitted from bending magnets, wigglers (conventional and elliptical) 
and undulators (conventional, helical, elliptical and figure-8). Calculations 
of radiation from an arbitrary magnetic field distribution are also available. 
Parameters on the electron beam and the source can be edited completely on 
graphical user interfaces (GUIs) and it is possible to show the calculation 
result graphically. The energy spectrum and radiation power after transmitting 
various filters and convolution of detector's resolution are also available. 
See SPECTRA.

%VALIDATION

%BUGS

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
brilliance_column 2
nE  
spectra_stem_x ""
spectra_stem_y ""
spectra_suffix "dsc"
verbose 1 If non-zero output more warning messages. 0
E0 keV Mean energy of X-rays. 0
dE keV Energy spread of X-rays. 0
Emin  
Emax  
lambda0 AA Mean wavelength of X-rays (only relevant for E0=0). 0
dlambda AA Wavelength half spread of X-rays. 0
flux 1/(s * mm**2 *mrad**2 * energy unit) flux per energy unit, Angs or keV. 0
gauss 1 Criterion: 0: uniform, 1: Gaussian distribution of energy/wavelength. 0
gauss_a 1 Criterion: 0: uniform, 1: Gaussian divergence distribution. 0
incoherent 1 Deprecated, please use randomphase instead. 1
randomphase 1 If !=0 the photon phase is chosen randomly. 1
phase 1 Value of the photon phase (only used if randomphase!=0). 0
nx 51
ny 51
npx 51
npy 51
initial_serial 1 First serial number that the series of spectra files. 1

Output parameters

Name Unit Description Default
prms  
dist  

Links

  • Source code for Source_spectra.comp.
  • Tanaka, J. Synchrotron Rad. (2001). 8, 1221-1228. https://doi.org/10.1107/S090904950101425X http://spectrax.org/spectra/

[ 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