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

The DivE_monitor Component

Divergence/Energy monitor.

Identification

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 2021-08-13 08:57:53