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

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

Mailing list

Search web/mailinglist

 McStas manual
 Known problems
 C Compilers




Report bugs


McStas Ubuntu live-dvd

McStas: MeanPolLambda_monitor Component

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

The MeanPolLambda_monitor Component

Polarisation and wavelength sensitive monitor.


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


polarisation along a given normalized m-vector (mx, my, mz) as a
function of wavelength.

Example: MeanPollambda_monitor(xwidth=0.1, yheight=0.1, npol=11, 
                               my=1, filename="")

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
nL 1 Number of bins in wavelength 20
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
Lmin AA Minimum wavelength detected  
Lmax AA Maximum wavelength detected  

Output parameters

Name Unit Description Default
PolL_N 1 Array of neutron counts  
PolL_p 1 Array of neutron weight counts  
PolL_p2 1 Array of second moments  
HelpArray 1 Array of weight counts used for normalization  


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

Generated automatically by McDoc, Peter Willendrup <> / Wed Apr 19 10:57:33 2017

Last Modified: Wednesday, 19-Apr-2017 12:57:33 CEST
Search website mailinglist archive GitHub repos