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

McStas
site 2

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_Pol_monitor

[ Identification | Description | Input parameters | Links ]

The PSD_Pol_monitor Component

Position-sensitive monitor.

Identification

  • Site:
  • Author: Alexander Backs, based on PSD_monitor by K. Lefmann
  • Origin: ESS
  • Date: 2022

Description

An (n times m) pixel PSD monitor, measuring local polarisation as function of x,y coordinates.

Example: PSD_Pol_monitor(xmin=-0.1, xmax=0.1, ymin=-0.1, ymax=0.1, nx=90, ny=90, my=1, filename="Output.psd")

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
nx1Number of pixel columns90
ny1Number of pixel rows90
filenamestringName of file in which to store the detector image0
xminmLower x bound of detector opening-0.05
xmaxmUpper x bound of detector opening0.05
yminmLower y bound of detector opening-0.05
ymaxmUpper y bound of detector opening0.05
xwidthmWidth of detector. Overrides xmin, xmax0
yheightmHeight of detector. Overrides ymin, ymax0
restore_neutron1If set, the monitor does not influence the neutron state0
nowritefile1If set, monitor will skip writing to disk0
mx1Define the projection axis along which the polarizatoin is evaluated, x-component0
my1Define the projection axis along which the polarizatoin is evaluated, y-component0
mz1Define the projection axis along which the polarizatoin is evaluated, z-component0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2023-09-19 20:01:36


Last Modified: Tuesday, 17-Sep-2024 05:31:13 CEST
Search website mailinglist archive GitHub repos