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
 McStas manual
 Known problems
 Publications

Workshops/conferences

Developments

Links <- UPDATED!

Report bugs

Git


McStas: Flex_monitor_3D Component

[ Identification | Description | Input parameters | Output parameters | Links ]

The Flex_monitor_3D Component

Flexible monitor.

Identification

  • Author: Erik B Knudsen & Peter Willendrup
  • Origin: DTU Physics
  • Date: Oct '20
  • Version:(Unknown)

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.
Name Unit Description Default
nU1 1 Number of U1 channels 20
nU2 1 Number of U1 channels 20
nU3 1 Number of U3 channels 20
filename string Name of file in which to store the detector image 0
Umin1  
Umax1  
uid1 1 Integer index of uservar to be monitored. Overrides ustring1. -1
ustring1 string Name of variable U1 (user or neutron state parameter as a string) to be monitored. ""
Umin2  
Umax2  
uid2 1 Integer index of uservar to be monitored. Overrides ustring2. -1
ustring2 string Name of variable U2 (user or neutron state parameter as a string) to be monitored. ""
Umin3  
Umax3  
uid3 1 Integer index of uservar to be monitored. Overrides ustring3. -1
ustring3 string Name of variable U3 (user or neutron state parameter as a string) to be monitored. ""
restore_neutron 1 If set, the monitor does not influence the neutron state 0
signal string Name of variable to be used as an additive signal to be monitored. Default is intensity. "p"
nowritefile 1 Flag to indicate if monitor should not save any data. 0

Links


[ Identification | Description | Input parameters | Output parameters | Links ]

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Wed Apr 21 20:13:18 2021


Last Modified: Wednesday, 21-Apr-2021 22:13:18 CEST
Search website mailinglist archive GitHub repos