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_porous

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

The Test_PowderN_porous Instrument

Test of PowderN_porous: Si matrix with pore channels, water below fill_y

Identification

  • Site: Tests_samples
  • Author: Peter Willendrup
  • Origin: DTU
  • Date: Nov 2026

Description

Si cylinder with pore channels from pores.off (make with make_pores.py, e.g.
python3 make_pores.py --radius 5e-4 --yheight 2e-3 --diameter 6e-5
--diameter_sigma 1e-5 --length 3e-4 --length_sigma 1e-4 --seed 1),
water in the pores below fill_y. Water is approximated by its oxygen
(O.txt at 0.888 g/cm^3), hydrogen adds a few % of its attenuation.
pores="NULL" gives a plain PowderN-like sample.

Examples

(Test cases in bold)
  • Test: Test_PowderN_porous.instr -y Detector: Banana_I=1.42463e-10

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
E0keVMean energy15
poresstrPore mesh file, "NULL" for none"pores.off"
fill_ymWater level in the pores (local y), sample spans +-0.0010
liquidstrAttenuation table of the liquid in the pores below fill_y, "NULL": void pores"O.txt"

Links


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

Generated for mcxtrace 3.10.4


Last Modified: Fri Nov 27 20:05:00 2026
Search website mailinglist archive GitHub repos