McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL DTU Physics

McXtrace

About McXtrace
 Publications
 Project Partners
 Project People
 Goal

Download
 Components

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Mailing list

Links

Search

Code-repository (GitHub)

Report bugs (GitHub)


McXtrace: DivE_monitor

[ Identification | Description | Input parameters | Links ]

The DivE_monitor Component

Divergence/Energy monitor.

Identification

  • Site:
  • Author: Erik B Knudsen
  • Origin: DTU Physics
  • Date: Jun. 2016

Description

2D detector for intensity as a function of both horizontal divergence
and Energy.

Based on neutron component by Kristian Nielsen

Example: DivE_monitor(nE=20, nh=20, filename="Output.div",
xmin=-0.1, xmax=0.1, ymin=-0.1, ymax=0.1,
maxdiv_h=2, Emin=2, Emax=10)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
nENumber of bins in energy (1)20
nhNumber of bins in divergence (1)20
filenameName of file in which to store the detector image (string)0
xminLower x bound of detector opening (m)-0.05
xmaxUpper x bound of detector opening (m)0.05
yminLower y bound of detector opening (m)-0.05
ymaxUpper y bound of detector opening (m)0.05
xwidthWidth of detector. Overrides xmin,xmax. (m)0
yheightHeight of detector. Overrides ymin,ymax. (m)0
maxdiv_hMaximal horizontal divergence detected (degrees)2
EminMinimum energy detected (keV)
EmaxMaximum energy detected (keV)
restore_xrayIf set, the monitor does not influence the photon state (1)0
nx(1)0
nyVector definition of "forward" direction wrt. divergence, to be used e.g. when the monitor is rotated into the horizontal plane.(1)0
nz(1)1
nowritefile1If set, monitor will skip writing to disk.0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2023-12-19 19:37:45


Last Modified: Tuesday, 13-Feb-2024 16:50:14 CET
Search website mailinglist archive GitHub repos