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

[ Identification | Description | Input parameters | Links ]

The DivPos_monitor Component

Divergence/position monitor (acceptance diagram).

Identification

  • Site:
  • Author: Kristian Nielsen
  • Origin: Risoe
  • Date: 1999

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 position20
ndiv1Number of bins in divergence20
filenamestringName 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
maxdiv_hdegreesMaximal horizontal divergence detected2
restore_neutron1If set, the monitor does not influence the neutron 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
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2024-01-03 11:47:43


Last Modified: Tuesday, 17-Sep-2024 05:31:15 CEST
Search website mailinglist archive GitHub repos