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_Absorption

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

The Test_Absorption Instrument

Example instrument to compare material absorption components.

Identification

  • Site: Tests_samples
  • Author: E. Farhi (emmanuel.farhi@synchrotron-soleil.fr)
  • Origin: Synchrotron SOLEIL
  • Date: March '21

Description

This instrument simply has a lab source, a few monitors and a set of components
to model material absorption. Material is chosen to be Mn (K-edge 6.5 keV).

This test compares the folowwing components:
- index=1: Filter
- index=2: Absorption_sample
- index=3: Abs_objects
- index=4: Fluorescence

Examples

(Test cases in bold)
  • Test: Test_Absorption.instr -n1e5 index=1 Detector: emon_I=8.25376e-12
  • Test: Test_Absorption.instr -n1e5 index=2 Detector: emon_I=8.24127e-12
  • Test: Test_Absorption.instr -n1e5 index=3 Detector: emon_I=8.28866e-12
  • Test: Test_Absorption.instr -n1e5 index=4 Detector: emon_I=9.36962e-10

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
index1Index of the absorption component to use in 1-4. See above.1
materialstrMaterial file to use, e.g. Mn.txt"Mn.txt"
E0keVMean photon energy6.5
dEkeVPhoton energy spread, half width1

Links


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

Generated for mcxtrace 3.10.2


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