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
 Screenshots

Download
 Components
 Linux Install (deb/rpm)
 Mac OS X Install
 Unix Install (src code)
 Windows Install
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 FAQ
 Known problems
 Publications
 C Compilers
 Other
 Tools
 Tutorial

Workshops/conferences

Developments

Links

Report bugs

Git

McStas Ubuntu live-dvd


McStas: Pol_monitor Component

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

The Pol_monitor Component

Modified by Erik B Knudsen Polarisation sensitive monitor.

Identification

  • Author: Peter Christiansen
  • Origin: Risoe
  • Date: July 2006
  • Version: $Revision$

Description

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 - Width of detector (m). 0.1
yheight - Height of detector (m). 0.1
restore_neutron 1 If set, the monitor does not influence the neutron state 0
mx 1 X-component of monitor vector (can be negative) 0
my 1 Y-component of monitor vector (can be negative) 0
mz 1 Z-component of monitor vector (can be negative) 0

Output parameters

Name Unit Description Default
Pol_N - Array of neutron counts  
Pol_p - Array of neutron weight counts  
Pol_p2 - Array of second moments  
Psum  
titlestring  

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Fri Mar 17 20:40:06 2017


Last Modified: Friday, 17-Mar-2017 21:40:06 CET
Search website mailinglist archive GitHub repos