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

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

The PSD_monitor_4PI_spin Component

Spherical position-sensitive detector.


  • Author: Kim Lefmann and Kristian Nielsen
  • Origin: Risoe
  • Date: April 17, 1998
  • Version: 1.27


An (n times m) pixel spherical PSD monitor using a cylindrical projection.
Mostly for test and debugging purposes.

Example: PSD_monitor_4PI(radius=0.1,
            nx=90, ny=90, filename="Output.psd")

WARNING: This is a contributed Component.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
nx 1 Number of pixel columns 90
ny 1 Number of pixel rows 90
radius m Radius of detector  
restore_neutron 1 If set, the monitor does not influence the neutron state 0
mx 1 x-component of spin reference-vector 0
my 1 y-component of spin reference-vector 1
mz 1 z-component of spin reference-vector 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 <> / Wed Jan 12 15:13:31 2022

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