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

 McStas manual
 Known problems



Links <- UPDATED!

Report bugs


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:(Unknown)


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
nowritefile 1 If set, monitor will skip writing to disk 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
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 <> / Tue May 26 13:03:59 2020

Last Modified: Tuesday, 26-May-2020 15:03:59 CEST
Search website mailinglist archive GitHub repos