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

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

The PSD_monitor_rad Component

Position-sensitive monitor with radially averaging.


  • Author: Henrich Frielinghaus
  • Origin: FZ-Juelich/FRJ-2/IFF/KWS-2
  • Date: Sept 2004
  • Version: $Revision$
  • Modification history:
    • Kim Lefmann, 7 June 2005


Radial monitor that allows for radial averaging.
Comment: The intensity is given as two files:
         1) a radial sum
         2) a radial average (i.e. intensity per area)

Example: PSD_monitor_rad(rmax=0.2, nr=100, filename="Output.psd", filename_av="Output_av.psd")

WARNING: This is a contributed Component.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
nr 1 Number of concentric circles 100
filename text Name of file in which to store the detector image 0
filename_av text Name of file in which to store the averaged detector image 0
rmax m Outer radius of detector 0.2

Output parameters

Name Unit Description Default
PSDr_N - Array of neutron counts  
PSDr_p - Array of neutron weight counts  
PSDr_p2 - Array of second moments  
PSDr_av_p - Array of neutron weight counts, averaged  
PSDr_av_p2 - Array of second moments, averaged  


[ 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