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

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

The E_4PI Component

Spherical position-sensitive detector.


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


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
ne 50
Emin 0
Emax 5
filename text Name of file in which to store the detector image 0
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 Oct 2 20:53:19 2020

Last Modified: Friday, 02-Oct-2020 22:53:19 CEST
Search website mailinglist archive GitHub repos