McXtrace logo

McXtrace - An X-ray ray-trace simulation package

ESRF; SAXSLAB Niels Bohr Institute DTU Physics


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

Project Status
 Project Partners
 Project People

Mailing list



Minutes of Meetings

McXtrace Art

About McXtrace



McXtrace: Source_genesis13 Component

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

The Source_genesis13 Component


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


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

Genesis 1.3 is a simulation code to calculate 
the performance of Free-Electron Lasers (FEL), where the kinetic energy of 
electrons is transferred into a tunable, high-brightness radiation source (DESY,PSI).

Example: Source_genesis13(dist=1)

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.out"
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_genesis13.comp.

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

Generated automatically by McDoc, Peter Willendrup <> / 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