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_monitor_psf_eff

[ Identification | Description | Input parameters | Links ]

The PSD_monitor_psf_eff Component

Position-sensitive monitor.

Identification

  • Site:
  • Author: Kim Lefmann, Linda Udby
  • Origin: Risoe
  • Date: Feb 3, 1998

Description

An (n times m) pixel PSD monitor. This component may also be used as a beam
detector. Models 1/k behaviour and efficiency, based on user defined k0 and eff parameters.

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.
NameUnitDescriptionDefault
nx1Number of pixel columns90
ny1Number of pixel rows90
filenamestringName of file in which to store the detector image
xminmLower x bound of detector opening0
xmaxmUpper x bound of detector opening0
yminmLower y bound of detector opening0
ymaxmUpper y bound of detector opening0
xwidthmWidth/diameter of detector (x). Overrides xmin, xmax0
yheightmHeight of detector (y). Overrides ymin, ymax0
psfmPoint spread function, ray (x,y) coordinate randomized by gaussion of sigma psf0
k0Numerator in k0/k weighting [AA^-1]1
eff1Detector efficiency1
restore_neutron1If set, the monitor does not influence the neutron state0
nowritefile1If set, monitor will skip writing to disk0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2024-01-03 11:47:43


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