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

The DivPos_monitor Component

Divergence/position monitor (acceptance diagram).

Identification

Description

2D detector for intensity as a function of both horizontal position
and wavelength. This gives information similar to an aceptance diagram used
eg. to investigate beam profiles in neutron guides.

Example: DivPos_monitor(nh=20, ndiv=20, filename="Output.dip",
xmin=-0.1, xmax=0.1, ymin=-0.1, ymax=0.1, maxdiv_h=2)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
nh1Number of bins in position.20
ndiv1Number of bins in divergence.20
filename Name of file in which to store the detector image.0
xminmLower x bound of detector opening.-0.05
xmaxmUpper x bound of detector opening.0.05
yminmLower y bound of detector opening.-0.05
ymaxmUpper y bound of detector opening.0.05
xwidthmWidth of detector. Overrides xmin,xmax.0
yheightmHeight of detector. Overrides ymin,ymax.0
maxdiv_hdeg.Maximal horizontal divergence detected.2
restore_xray1If set, the monitor does not influence the photon state.0
nx10
ny1Vector definition of "forward" direction wrt. divergence, to be used e.g. when the monitor is rotated into the horizontal plane.0
nz11
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