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

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 Known problems
 Publications

Workshops/conferences

Developments

Links <- UPDATED!

Report bugs

Git


McStas: Div1D_monitor Component

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

The Div1D_monitor Component

A 1D divergence sensitive monitor.

Identification

  • Author: KL,
  • Origin: Risoe
  • Date: Nov. 11, 1998
  • Version:(Unknown)
  • Modification history:
    • Thomas Hansen, December, 1999
    • Erik B Knudsen, Sep, 2020

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.
Name Unit Description Default
ndiv 1 Number of pixel rows 20
filename str Name of file in which to store the detector image 0
xmin m Lower x bound of detector opening -0.05
xmax m Upper x bound of detector opening 0.05
ymin m Lower y bound of detector opening -0.05
ymax m Upper y bound of detector opening 0.05
xwidth m Width of detector. Overrides xmin,xmax. 0
yheight m Height of detector. Overrides ymin,ymax. 0
maxdiv deg Maximal divergence detected 2
restore_neutron 1 If set, the monitor does not influence the neutron state 0
nowritefile 1 If set, monitor will skip writing to disk 0
vertical 1 If set, measure vertical divergence instead of horizontal. 0

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Wed Apr 21 20:13:18 2021


Last Modified: Wednesday, 21-Apr-2021 22:13:18 CEST
Search website mailinglist archive GitHub repos