Component Manual for the Xray-Tracing Package McXtrace, version 3.8.6

8.7  The EPSD_monitor McXtrace Component

Position-energy-sensitive monitor.

Identification

Description

An nx times ny pixel energy resolved PSD monitor, which only counts photons with energy in an interval given by Emin and Emax in nE energy bins. The default energy interval is (almost) infinite, with a single bin. If nE>1 the component will output nE detector files + one which is integrated over the full energy interval.

Example: EPSD_monitor(xwidth=0.1, yheight=0.1, nx=90, ny=90, filename=”Output.psd”)

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

nx

1

Number of pixel columns.

90

ny

1

Number of pixel rows.

90

filename

str

Name of file in which to store the detector image.

0

restore_xray

1

If set, the monitor does not influence the xray state.

0

xwidth

m

Width of detector.

0.1

yheight

m

Height of detector.

0.1

Emax

keV

Upper bound of energy interval.

0

Emin

keV

Lower bound of energy interval.

0

nE

1

Number of energy bins.

1

nowritefile

1

If set, monitor will skip writing to disk

0

Links

Energy-selective PSD monitor

The EPSD_monitor closely resembles PSD_monitor with the difference that this component may be given an energy interval: \(\left [E_{min},E_{max}\right ]\), in which it is sensitive. Photon rays falling within this interval are detected, those outside are ignored.

The output from EPSD_monitor is the integrated counts, \(n, I, M_2\), as well as three two-dimensional arrays of counts: \(n(x,y), I(x,y), M_2(x,y)\). The arrays are written to a file, filename, and can be read e.g. by the tool mxplot, see the system manual.