Unit test instrument for the Mask and Absorber components
Identification
Site: Tests_optics
Author: Erik B Knudsen (erkn@fysik.dtu.dk)
Origin: DTU Physics
Date: 12/03/2014
Description
A non-divergent beam impinges on a masking image, with 2D detectors up- and downstream
of the mask. Ported from the McXtrace Test_Mask instrument.
The mask transmits 1/4 of the beam (invert=0) or 3/4 (invert=1).
With absorber=1 the mask is replaced by an Absorber block covering the x>0 half of the beam.
Examples
(Test cases in bold)
Test: invert=0 Detector: psd1_I=1.52973e-10
Test: invert=1 Detector: psd1_I=4.56267e-10
Test: absorber=1 Detector: psd1_I=3.03816e-10
Input parameters
Parameters in boldface are required;
the others are optional.
Name
Unit
Description
Default
invert
1
If nonzero the transparency/opacity sense of the masking image is reversed.