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

[ Identification | Description | Input parameters | Links ]

The PolTOF_monitor Component

Polarisation and time of flight sensitive monitor.

Identification

  • Site:
  • Author: Erik B Knudsen
  • Origin: DTU Physics
  • Date: Apr 2021

Description

A square single monitor that measures the projection of the
polarisation along a given normalized m-vector (mx, my, mz) as a
function of time of flight.

Example: PolTOF_monitor(tmin=1e-3, tmax=2e-3, nt=20, xwidth=0.1, yheight=0.1, npol=11, mx=0, my=1, mz=0, filename="polTOFMon.data")

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
nt1Number of time bins20
npol1Number of bins in Pol21
xwidthmWidth of detector0.1
yheightmHeight of detector0.1
filenamestringName of file in which to store the data""
mx1X-component of monitor vector (can be negative)0
my1Y-component of monitor vector (can be negative)0
mz1Z-component of monitor vector (can be negative)0
tminsLower time limit0
tmaxsUpper time limit0
dtsLength of each time bin1.0e-6
restore_neutron1If set, the monitor does not influence the neutron state0
nowritefile1If set, monitor will skip writing to disk0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2022-12-12 13:20:16


Last Modified: Wednesday, 09-Aug-2023 17:01:02 CEST
Search website mailinglist archive GitHub repos