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 | 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(flux=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
E0keVMean energy of xrays.0
meshsizemspacing between mesh points (equal in x and y).1e-5
nslices1Number of slices simulated102
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
flux1Flux-multiplier1.0
focus_aradmean divergence angle.0.1
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links

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

[ Identification | Description | Input parameters | Links ]

Generated on 2023-12-19 19:37:45


Last Modified: Thursday, 16-May-2024 15:56:15 CEST
Search website mailinglist archive GitHub repos