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: PSDlin_monitor

[ Identification | Description | Input parameters | Links ]

The PSDlin_monitor Component

Rectangular 1D PSD, measuring intensity vs. position along an axis,

Identification

  • Site:
  • Author: Kim Lefmann
  • Origin: Risoe
  • Date: May 7, 2001

Description

A 1-dimensional PSD measuring intensity along either the horizontal axis x (default) or
the vertical axis y.


Example: PSDlin_monitor(nbins=20, filename="Output.x", xmin=-0.1, xmax=0.1, ymin=-0.1, ymax=0.1)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
nbins1Number of positional bins.20
filenamestrName of file in which to store the detector image.0
xminmLower x bound of detector opening.-0.05
xmaxmUpper x bound of detector opening.0.05
yminmLower y bound of detector opening.-0.05
ymaxmUpper y bound of detector opening.0.05
nowritefile1If set, monitor will skip writing to disk0
xwidthmWidth of detector. Overrides xmin, xmax.0
yheightmHeight of detector. Overrides ymin, ymax.0
restore_neutron1If set, the monitor does not influence the neutron state.0
vertical1Flag to indicate whether the monitor measures along the horiz. or vert. axis0
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