McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP

McStas
site 2

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


McStas: Div1D_monitor

[ Identification | Description | Input parameters | Links ]

The Div1D_monitor Component

A 1D divergence sensitive monitor.

Identification

  • Site:
  • Author: KL,
  • Origin: Risoe
  • Date: Nov. 11, 1998

Description

A divergence sensitive monitor. The counts are distributed in
ndiv pixels along either the horizontal axis x (default) or the vertical y.

Example: Div1D_monitor(xmin=-0.1, xmax=0.1, ymin=-0.1, ymax=0.1, ndiv=20, filename="Output.hd", maxdiv=2)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
ndiv1Number of pixel rows20
filenamestrName of file in which to store the detector image0
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,xmax.0
yheightmHeight of detector. Overrides ymin,ymax.0
maxdivdegMaximal divergence detected2
restore_neutron1If set, the monitor does not influence the neutron state0
nowritefile1If set, monitor will skip writing to disk0
vertical1If set, measure vertical divergence instead of horizontal.0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2023-09-19 20:01:36


Last Modified: Wednesday, 03-Jan-2024 19:59:10 CET
Search website mailinglist archive GitHub repos