McXtrace logo

McXtrace - An X-ray ray-trace simulation package

ESRF; SAXSLAB Niels Bohr Institute DTU Physics

McXtrace

Project Status
 Project Partners
 Project People
 Goal

Installation
 Mac OSX Installation
 Windows Installation

Mailing List

Links

Publications

Minutes of Meetings

McXtrace Art

About McXtrace

Documentation
 Commands
 Tutorial

Download
 Components

Search


McXtrace: PSD_monitor Component

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

The PSD_monitor Component

Position-sensitive monitor.

Identification

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

Description

Based on neutron component written by Kim Lefmann
An (nx times ny) pixel PSD monitor. This component may also be used as a beam
detector. If instead of xwidth, yheight a radius is given, the component has a circular footprint
and integrates circularly (caking).

Example: PSD_monitor(xmin=-0.1, xmax=0.1, ymin=-0.1, ymax=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
nr 1 Number of radial pixels 0
filename text Name of file in which to store the detector image 0
restore_xray 1 If set, the monitor does not influence the xray state 0
xmin m Lower x bound of detector opening -0.05
xmax m Upper x bound of detector opening 0.05
ymin m Lower y bound of detector opening -0.05
ymax m Upper y bound of detector opening 0.05
xwidth m Width of detector. Overrides xmin,xmax. 0
yheight m Height of detector. Overrides ymin,ymax. 0
radius m Radius of circular detetor 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  

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Mon Apr 24 19:45:24 2017


Last Modified: Monday, 24-Apr-2017 21:45:24 CEST
Search website mailinglist archive SVN repos McCode Trac