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.
Name Unit Description Default
gamma deg Nominal glancing angle of mirror 5
index 1 Index of the Mirror component to test 1
L m Distance source-mirror and mirror-detector 2
radius m Radius of curvature 1000
E0 keV Mean photon energy 12.5
coating string "None" or reflectivity file, such as "Ref_W_B4C.txt" "NULL"
Links
[ Identification
| Description
| Examples
| Input parameters
| Links ]
Generated for mcxtrace 3.8.4
Last Modified: Friday, 11-Sep-2026 15:00:07 CEST