McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL DTU Physics

McXtrace

About McXtrace
 Publications
 Project Partners
 Project People
 Goal

Download
 Components

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Mailing list

Links

Search

Code-repository (GitHub)

Report bugs (GitHub)


McXtrace: Source_genesis13

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

The Source_genesis13 Component

Interface source for importing GENESIS 1.3 generated X-ray pulses into McXtrace.

Identification

  • Site:
  • Author: Erik B Knudsen
  • Origin: Risoe
  • Date: Aug. 10th, 2014

Description

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.
NameUnitDescriptionDefault
gridpoints number of mesh points along 1 axis.101
fname filename of main output file of GENESIS 1.3."template.out"
focus_xwmWidth of target.0
focus_yhmHeight of target.0
dist1
E0keVMean energy of xrays.0
dE0
meshsizemspacing between mesh points (equal in x and y).1e-5
nslices102
s0mback end of pulse time sampling windows scaled by c^-1.-2e-3
s1mfront end of pulse time sampling window scaled by c^-1.2e-3
flux1.0
focus_aradmean divergence angle.0.1

Output parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
prms
e
l

Links

  • Source code for Source_genesis13.comp.
  • http://genesis.web.psi.ch

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

Generated on 2022-02-07 21:31:39


Last Modified: Wednesday, 11-May-2022 22:46:11 CEST
Search website mailinglist archive GitHub repos