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_PowderN

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

The Test_PowderN Instrument

Unit-test instrument for the PowderN sample component.

Identification

  • Site: Tests_samples
  • Author: Erik B Knudsen (erkn@fysik.dtu.dk)
  • Origin: DTU Physics
  • Date: 2009

Description

Simply a model source illuminating a powder sample.
The default sample itself is a LaB6-powder.
Alternatively, the Single_crystal (powder mode) and FluoPowder components can also be tested.

Examples

(Test cases in bold)
  • Test: index=1 Detector: Sph_mon_I=1.29869e-12
  • Example: index=2 Detector: Sph_mon_I=1.91726e-12
  • (Unittest disabled for Single_crystal powder-mode, numerically unstable on GPU)
  • Test: index=3 Detector: Sph_mon_I=6.29534e-12
  • (Unittest disabled for Single_crystal powder-mode, numerically unstable on GPU)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
E0keVSource energy (width 1 keV)15
L1mSource-sample distance10
directbeam1Suppress direct beam (0) or not (1)0
reflectionsstrList of powder reflections, LAU/LAZ/CIF format."LaB6.cif"
SPLITS1Number of SPLIT's before sample1
frac_c1Fraction of stats assigned to coherent scattering0.8
frac_i1Fraction of stats assigned to incoherent scattering0.1
frac_t1Fraction of stats assigned to unscattered, "direct beam"0.1
d_phidegAngle corresponding to the vertical angular range to focus to, e.g. detector height. 0 for no focusing.0
index1Index of the sample component to use. 1=PowderN, 2=Single_crystal, 3=FluoPowder1

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