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

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_1D

[ Identification | Description | Input parameters | Links ]

The Flex_monitor_1D Component

Flexible monitor.

Identification

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

Description

Non-propagating monitor that measures intensity (or something else) as a function of some variable or parameter.

Example: Flex_monitor_1D(nU=20, filename="Output", ustring="x", Umin=-.1, Umax=.1)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
nU1Number of U channels20
filenamestringName of file in which to store the detector image0
UminMinimum U to detect
UmaxMaximum U to detect
uid1Integer index of uservar to be monitored. Overrides ustring.-1
ustringstringName of variable (user or particle state parameter as a string) to be monitored.""
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 mcstas 3.7.1


Last Modified: Friday, 22-May-2026 09:47:07 CEST
Search website mailinglist archive GitHub repos