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

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

Output parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
Div_NArray of photon ray counts
Div_pArray of photon weight counts
Div_p2Array of second moments

Links


[ 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