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

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

The PolTOF_monitor Component

Polarisation and time of flight sensitive monitor.

Identification

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

Description

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.
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
PolL_N  
PolL_p  
PolL_p2  

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Fri Sep 23 18:47:27 2022


Last Modified: Friday, 23-Sep-2022 20:47:27 CEST
Search website mailinglist archive GitHub repos