McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP


About McStas
 Conditions of use
 Project funding

 Other Downloads (share)

Mailing list

Search web/mailinglist

 Wiki (GitHub)
 McStas manual


Report bugs (GitHub)

Code-repository (GitHub)

McStas: PolTOF_monitor Component

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

The PolTOF_monitor Component

Polarisation and time of flight sensitive monitor.


  • Author: Erik B Knudsen
  • Origin: DTU Physics
  • Date: Apr 2021
  • Version:(Unknown)


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="")

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
nt 1 Number of time bins 20
npol 1 Number of bins in Pol 21
xwidth m Width of detector 0.1
yheight m Height of detector 0.1
filename string Name of file in which to store the data ""
mx can be negative [1] X-component of monitor vector 0
my can be negative [1] Y-component of monitor vector 0
mz can be negative [1] Z-component of monitor vector 0
tmin s Lower time limit 0
tmax s Upper time limit 0
dt s Length of each time bin 1.0e-6
restore_neutron 1 If set, the monitor does not influence the neutron state 0
nowritefile 1 If set, monitor will skip writing to disk 0

Output parameters

Name Unit Description Default


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

Generated automatically by McDoc, Peter Willendrup <> / Wed Jan 12 15:13:31 2022

Last Modified: Wednesday, 12-Jan-2022 16:13:31 CET
Search website mailinglist archive GitHub repos