McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL DTU Physics


About McXtrace
 Project Partners
 Project People


 Wiki (GitHub)

Mailing list



Code-repository (GitHub)

Report bugs (GitHub)

McXtrace: Test_Detector_pn

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

The Test_Detector_pn Instrument

Unit test for Detector_pn


  • Site: Tests
  • Author: Erik B Knudsen
  • Origin: DTU Physics
  • Date: Apr 20


A simple unit test instrument for the Detector_pn component. It consists merely of
two sets of monitor each with:
1 regular PSD_monitor and 2 instances of Detector_pn with a scinitillator screen of
Si and Pb respectively. Obviously, no sane person would use Pb, but it's there for
illustration purposes.
A restore_flag parameter may be passed to Detector_pn which negates the absorption
effect for subsequent components.

Input parameters

Parameters in boldface are required; the others are optional.
restore_flag Should the monitor/detector instances restore the x-ray to its pre-detector state0
E0keVThe central simulation energy to use. A 1% BW will be added.12.4
DEkeVHalf energy width of the simulation energy.0.124


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

Generated on 2022-02-07 21:31:39

Last Modified: Wednesday, 11-May-2022 22:46:11 CEST
Search website mailinglist archive GitHub repos