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
 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
vix
viy
viz
qmin0
qmax2
EminmeVDefines the energy-transfer [Emin,Emax] window to monitor in nE bins0
EmaxmeVDefines the energy-transfer [Emax,Emax] window to monitor in nE bins5
nq90
nEintNumber of energy slices90
filenamestringBase filename to use, nE+1 files will be output
nowritefile1If set, monitor will skip writing to disk0
radiusmCylinder radius (optional)0
yheightmCylinder height (optional)0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2024-01-03 11:47:43


Last Modified: Tuesday, 16-Apr-2024 20:05:22 CEST
Search website mailinglist archive GitHub repos