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

[ Identification | Description | Input parameters | Links ]

The Flex_monitor_3D Component

Flexible monitor.

Identification

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

Description

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

Example: Flex_monitor_3D(nU1=20, nU2=20, nU3=20, filename="Output", ustring1="x", ustring2="y", ustring1="z", Umin1=-.1, Umax1=.1, Umin2=-.1, Umax2=.1, Umin3=-.1, Umax3=.1)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
nU11Number of U1 channels20
nU21Number of U1 channels20
nU31Number of U3 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.""
Umin3Minimum U3 to detect
Umax3Maximum U3 to detect
uid31Integer index of uservar to be monitored. Overrides ustring3.-1
ustring3stringName of variable U3 (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: Tuesday, 17-Sep-2024 05:31:13 CEST
Search website mailinglist archive GitHub repos