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: 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.8.4


Last Modified: Friday, 11-Sep-2026 15:00:06 CEST
Search website mailinglist archive GitHub repos