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
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


McStas: Flex_monitor_2D

[ Identification | Description | Input parameters | Links ]

The Flex_monitor_2D Component

Flexible monitor.

Identification

  • Site:
  • Author: Erik B Knudsen & Peter Willendrup
  • Origin: DTU Physics
  • Date: Oct '20

Description

A square 2D single monitor that measures intensity (or something else) as a function of two selectable variables or parameters.

Example: Flex_monitor_2D(nU1=20, nU2=20, filename="Output", ustring1="x", ustring2="y", Umin1=-.1, Umax1=.1, Umin2=-.1, Umax2=.1)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
nU11Number of U1 channels20
nU21Number of U1 channels20
filenamestringName of file in which to store the detector image0
Umin1Minimum U1 to detect
Umax1Maximum U1 to detect
uid11Integer index of uservar to be monitored. Overrides ustring1.-1
ustring1stringName of variable U1 (user or neutron state parameter as a string) to be monitored.""
Umin2Minimum U1 to detect
Umax2Maximum U1 to detect
uid21Integer index of uservar to be monitored. Overrides ustring2.-1
ustring2stringName of variable U2 (user or neutron state parameter as a string) to be monitored.""
restore_neutron1If set, the monitor does not influence the neutron state0
signalstringName of variable to be used as an additive signal to be monitored. Default is intensity."p"
nowritefile1Flag to indicate if monitor should not save any data.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