McXtrace logo

McXtrace - An X-ray ray-trace simulation package

ESRF; SAXSLAB Niels Bohr Institute DTU Physics


Project Status
 Project Partners
 Project People

 Mac OSX Installation
 Windows Installation

Mailing List



Minutes of Meetings

McXtrace Art

About McXtrace




McXtrace: PSD_monitor_4PI Component

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

The PSD_monitor_4PI Component

Spherical position-sensitive detector.


  • Author: Erik Knudsen
  • Origin: Risoe
  • Date: June 23rd, 2009
  • Version:


Based on neutron component by Kim Lefmann and Kristian Nielsen
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")

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
filename text Name of file in which to store the detector image 0
radius m Radius of detector 1
restore_xray 1 If set, the monitor does not influence the xray state 0

Output parameters

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


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

Generated automatically by McDoc, Peter Willendrup <> / Fri Dec 15 15:24:40 2017

Last Modified: Friday, 15-Dec-2017 16:24:40 CET
Search website mailinglist archive SVN repos McCode Trac