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: Divergence_monitor

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

The Divergence_monitor Component

Horizontal+vertical divergence monitor.

Identification

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

Description

A divergence sensitive monitor. The counts are distributed in
(n times m) pixels.

Example: Divergence_monitor(nh=20, nv=20, filename="Output.pos",
xmin=-0.1, xmax=0.1, ymin=-0.1, ymax=0.1,
maxdiv_h=2, maxdiv_v=2)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
nh1Number of pixel rows20
nv1Number of pixel columns20
rad1If set - divergence will be measured in radians.0
filenameName of file in which to store the detector image text0
xminmLower x bound of detector opening-0.05
xmaxmUpper x bound of detector opening0.05
yminmLower y bound of detector opening-0.05
ymaxmUpper y bound of detector opening0.05
xwidthmWidth of detector. Overrides xmin, xmax0
yheightmHeight of detector. Overrides ymin, ymax0
maxdiv_hdegreesMaximal horizontal divergence detected1
maxdiv_vdegreesMaximal vertical divergence detected1
restore_xray1If set, the monitor does not influence the photon state0
nx10
ny1Vector definition of "forward" direction wrt. divergence, to be used e.g. when the monitor is rotated into the horizontal plane0
nz11
nowritefile1If set, monitor will skip writing to disk0

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-01-24 12:07:05


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