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

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

The PSDcyl_monitor Component

A 2D Position-sensitive monitor. The shape is cylindrical with the axis vertical. The monitor covers the whole cylinder (360 degrees).


  • Author: Kim Lefmann
  • Origin: Risoe
  • Date: October 26, 2000
  • Version: $Revision$


An (n times m) pixel PSD monitor with cylinder shape,
vertical axis, centered at (0,0,0).

Example: PSDcyl_monitor(nr=20, ny=20, filename="Output.cyl",
          yheight=0.2, radius=0.1)

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
nr 1 Number of pixel (radial) columns 20
ny 1 Number of pixel rows 20
filename text Name of file in which to store the detector image 0
yheight m Height of detector 0.3
radius m Radius of detector 1
restore_neutron 1 If set, the monitor does not influence the neutron state 0

Output parameters

Name Unit Description Default
PSD_N - Array of neutron counts  
PSD_p - Array of neutron weight counts  
PSD_p2 - Array of second moments  


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

Generated automatically by McDoc, Peter Willendrup <> / Fri Mar 17 20:40:06 2017

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