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

[ Identification | Description | Input parameters | Links ]

The Sqw_monitor Component

Monitor outputting S(q,w)

Identification

  • Site:
  • Author: Peter Willendrup
  • Origin: DTU
  • Date: November, 2020

Description

The assumption is that the "current" neutron represents the final state, whereas the incoming state
is found by restoring the neutron state "index" components earlier.

Example: Sqw_monitor(filename="output", Emin=0,Emax=5,nE=11,nq=100,nqb=100,qmin=0,qmax=1,index=-2)
AT (0,0,0) RELATIVE sample

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
qminAA^-1Defines interval (qmin,qmax) where monitor measures in nq bins0
qmaxAA^-1Defines interval (qmin,qmax) where monitor measures in nq bins2
EminmeVDefines the energy-transfer [Emin,Emax] window to monitor in nE bins0
EmaxmeVDefines the energy-transfer [Emax,Emax] window to monitor in nE bins5
nqintNumber of bins in q90
nEintNumber of energy slices90
filenamestringBase filename to use, nE+1 files will be output0
nowritefile1If set, monitor will skip writing to disk0
vixstringPoints to instrument-level USERVAR for reading an earlier x-velocity""
viystringPoints to instrument-level USERVAR for reading an earlier y-velocity""
vizstringPoints to instrument-level USERVAR for reading an earlier z-velocity""
radiusmCylinder radius (optional)0
yheightmCylinder height (optional)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