Release: McXtrace 0.1
Spherical position-sensitive detector.
Author: Erik Knudsen
Origin: Risoe
Date: June 23rd, 2009
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”)
Parameters in boldface are required; the others are optional.
|
Name |
Unit |
Description |
Default |
|
|
|||
|
radius |
m |
Radius of detector |
1 |
|
restore_xray |
1 |
If set, the monitor does not influence the xray state |
0 |
|
nx |
1 |
Number of pixel columns |
90 |
|
ny |
1 |
Number of pixel rows |
90 |
|
filename |
str |
Name of file in which to store the detector image |
0 |
|
|
|||
|
|
|||
|
|
|||
Component source code found in file PSD_monitor_4PI.comp.
PSD_monitor_4PI is an unphysical idealized component. It takes on the shape of a complete sphere with a given radius, records the longitude and latitude of photon rays as the pass through the sphere. The sphere is binned in constant spaced bins in longitude and latitude. This has the consequence that the image will be distorted when plotted onto a plane, much like projections of a world map.
The output from PSD_monitor is the integrated counts, \(n, I, M_2\), as well as three two-dimensional arrays of counts: \(n(x,y), I(x,y), M_2(x,y)\). The arrays are written to a file, filename, and can be read e.g. by the tool mxplot, see the system manual.