McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


McStas: PSD_monitor_4PI_spin

[ Identification | Description | Input parameters | Links ]

The PSD_monitor_4PI_spin Component

Spherical position-sensitive detector with spin weighting

Identification

  • Site:
  • Author: Erik B Knudsen
  • Origin: DTU
  • Date: April 17, 2010

Description

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.
NameUnitDescriptionDefault
nx1Number of pixel columns90
ny1Number of pixel rows90
radiusmRadius of detector
filenamestrName of file in which to store the detector image0
restore_neutron1If set, the monitor does not influence the neutron state x0
mx1x-component of spin reference-vector0
my1y-component of spin reference-vector1
mz1z-component of spin reference-vector0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on mcstas 3.6.1


Last Modified: Friday, 12-Dec-2025 12:58:05 CET
Search website mailinglist archive GitHub repos