McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL Niels Bohr Institute DTU Physics

McXtrace

About McXtrace
 Publications
 Project Partners
 Project People
 Goal

Download
 Components

Documentation
 Wiki (GitHub)
 Commands
 Manual
 Tutorial

Mailing list

Links

Code-repository (GitHub)

Search


McXtrace: Test_Detector_pn

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

The Test_Detector_pn Instrument

Unit test for Detector_pn

Identification

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

Description

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.
NameUnitDescriptionDefault
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

Links


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

Generated on 2022-01-24 12:07:05


Last Modified: Monday, 24-Jan-2022 12:07:05 CET
Search website mailinglist archive GitHub repos