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

Mailing list

Search

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Links

Report bugs (GitHub)

Code-repository (GitHub)


McXtrace: Test_source_spectra

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

The Test_source_spectra Instrument

Test instrument for the Source_spectra component

Identification

  • Site: Tests_sources
  • Author: Erik B Knudsen (erkn@fysik.dtu.dk)
  • Origin: DTU Physics
  • Date: Aug. 10th, 2014

Description

A unit test instrument for the Source component that can take input from a SPECTRA-simulation
of an undulator/wiggler etc. and input it into McXtrace.

Examples

(Test cases in bold)
  • Test: Test_source_spectra.instr flag4d=0 E0=12.4 dE=0.001 stemx=sp8LU_x stemy=sp8LU_y Detector: psd2_I=1.42775e+11
  • Test: Test_source_spectra.instr flag4d=1 E0=12.4 dE=0.001 stem4d=sp8LU_xy Detector: psd2_I=3.53418e-06

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
E0keVCentral wavelength for sampling12.5
dEkeVHalfwidth of sampleing window (in energy)1
stem4d Filename stem for 4D-datafiles from SPECTRA."sp8LU_xy"
flag4d If zero use projection datafiles, else use 4D.0
stemx Filename stem for the x-projection data files coming from SPECTRA."sp8LU_x"
stemy Filename stem for the y-projection data files coming from SPECTRA"sp8LU_y"

Links


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

Generated for mcxtrace 3.10.2


Last Modified: Monday, 02-Nov-2026 21:43:07 CET
Search website mailinglist archive GitHub repos