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

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

The Pol_monitor Component

Modified by Erik B Knudsen Polarisation sensitive monitor.


  • Author: Peter Christiansen
  • Origin: Risoe
  • Date: July 2006
  • Version:(Unknown)


polarisation along a given normalized m-vector (mx, my, mz).
The measured quantity is: sx*mx+sy*my+mz*sz

Example: Pol_monitor(xwidth=0.1, yheight=0.1, nchan=11, mx=0, my=1, mz=0)

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
xwidth m Width of detector 0.1
yheight m Height of detector 0.1
restore_neutron 1 If set, the monitor does not influence the neutron state 0
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
nowritefile 1 If set, monitor will skip writing to disk 0


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

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

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