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_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

A square 1D single 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 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