Based on neutron component written by Kim Lefmann
An n times m pixel PSD monitor, which only counts photons with energy in an interval
given by Emin and Emax. The default energy interval is (almost) infinite.
This component may also be used as a beam
Example: EPSD_monitor(xmin=-0.1, xmax=0.1, ymin=-0.1, ymax=0.1,
nx=90, ny=90, filename="Output.psd")
Parameters in boldface are required;
the others are optional.
Number of pixel columns
Number of pixel rows
Name of file in which to store the detector image
If set, the monitor does not influence the xray state