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_Mirrors

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

The Test_Mirrors Instrument

Unit test instrument to check that Mirrors are working

Identification

  • Site: Tests_optics
  • Author: Erik B Knudsen (erkn@fysik.dtu.dk)
  • Origin: DTU Physics
  • Date: Jul 16

Description

A mere unit test instrument. Also includes a perfectly flat Mirror as reference.
The choice of the Mirror to test is set with "index"
index=0: Mirror
index=1: Mirror_elliptic
index=2: Mirror_parabolic
index=3: Mirror_curved
index=4: Mirror_toroid
index=5: Multilayer_elliptic
index=6: Mirror_toroid_pothole (contrib)

Examples

(Test cases in bold)
  • Test: Test_Mirrors.instr index=0 gamma=5 Detector: psd4_I=2e-08
  • Test: Test_Mirrors.instr index=1 gamma=5 Detector: psd4_I=2e-08
  • Test: Test_Mirrors.instr index=2 gamma=5 Detector: psd4_I=2e-08
  • Test: Test_Mirrors.instr index=3 gamma=5 Detector: psd4_I=2e-08
  • Test: Test_Mirrors.instr index=4 gamma=5 Detector: psd4_I=2e-08
  • Test: Test_Mirrors.instr index=5 gamma=5 Detector: psd4_I=2e-08
  • Test: Test_Mirrors.instr index=6 gamma=5 Detector: psd4_I=2e-08
  • Test: Test_Mirrors.instr index=0 gamma=0.1 coating=Ref_W_Si.txt Detector: psd4_I=2e-08
  • Test: Test_Mirrors.instr index=1 gamma=0.1 coating=Ref_W_Si.txt Detector: psd4_I=2e-08
  • Test: Test_Mirrors.instr index=2 gamma=0.1 coating=Ref_W_Si.txt Detector: psd4_I=2e-08
  • Test: Test_Mirrors.instr index=3 gamma=0.1 coating=Ref_W_Si.txt Detector: psd4_I=2e-08
  • Test: Test_Mirrors.instr index=4 gamma=0.1 coating=Ref_W_Si.txt Detector: psd4_I=2e-08
  • Test: Test_Mirrors.instr index=5 gamma=0.1 coating=Ref_W_Si.txt Detector: psd4_I=2e-08
  • Test: Test_Mirrors.instr index=0 gamma=0.1 coating=Ref_W_B4C.txt Detector: psd4_I=2e-08
  • Test: Test_Mirrors.instr index=1 gamma=0.1 coating=Ref_W_B4C.txt Detector: psd4_I=2e-08
  • Test: Test_Mirrors.instr index=2 gamma=0.1 coating=Ref_W_B4C.txt Detector: psd4_I=2e-08
  • Test: Test_Mirrors.instr index=3 gamma=0.1 coating=Ref_W_B4C.txt Detector: psd4_I=2e-08
  • Test: Test_Mirrors.instr index=4 gamma=0.1 coating=Ref_W_B4C.txt Detector: psd4_I=2e-08
  • Test: Test_Mirrors.instr index=5 gamma=0.1 coating=Ref_W_B4C.txt Detector: psd4_I=2e-08

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
gammadegNominal glancing angle of mirror5
index1Index of the Mirror component to test1
LmDistance source-mirror and mirror-detector2
radiusmRadius of curvature1000
E0keVMean photon energy12.5
coatingstring"None" or reflectivity file, such as "Ref_W_B4C.txt""NULL"

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