McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL DTU Physics

McXtrace

About McXtrace
 Publications
 Project Partners
 Project People
 Goal

Download
 Components

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Mailing list

Links

Search

Code-repository (GitHub)

Report bugs (GitHub)


The PSD_onitor_PI McXtrace Component

8.6  The PSD_monitor_4PI McXtrace Component

Release: McXtrace 0.1

Spherical position-sensitive detector.

Identification

  • Author: Erik Knudsen

  • Origin: Risoe

  • Date: June 23rd, 2009

Description

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

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

Links

  • Component source code found in file PSD_monitor_4PI.comp.

A 4 PI steradian spherical monitor.

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.


Last Modified: Monday, 05-Oct-2026 10:48:08 CEST
Search website mailinglist archive GitHub repos