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

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

The Source_simplex Component


  • Author:(Unknown)
  • Origin:(Unknown)
  • Date:(Unknown)
  • Version:(Unknown)


This source model reads the dumped radiation field output from Simplex and samples it to be used
in McXtrace.

SIMPLEX is a computer program to support designing the accelerator components 
in the FEL facility and help the FEL user estimate the optical properties of 
FEL radiation. Various kinds of FEL simulations can be performed using SIMPLEX.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
gridpoints number of mesh points along 1 axis. 101
fname filename of main output file of GENESIS 1.3. "template.fld"
focus_xw m Width of target. 0
focus_yh m Height of target. 0
dist 1
E0 keV Mean energy of xrays. 0
dE 0
meshsize m spacing between mesh points (equal in x and y). 1e-5
nslices 102
s0 m back end of pulse time sampling windows scaled by c^-1. -2e-3
s1 m front end of pulse time sampling window scaled by c^-1. 2e-3
flux 1.0
focus_a rad mean divergence angle. 0.1

Output parameters

Name Unit Description Default


  • Source code for Source_simplex.comp.
  • Tanaka, Journal of Synchrotron Radiation 22, 1319 (2015)

[ 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