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

[ Identification | Description | Input parameters | Links ]

The TOF_PSDmonitor Component

Position-sensitive TOF vs. (height) linear monitor.

Identification

  • Site:
  • Author: Robert Dalgliesh
  • Origin: ISIS
  • Date: September 2021

Description

Adapted from Kim Lefmann's TOF_cylPSDmonitor and PSD_monitors
An n pixel (vertical, linear) PSD monitor with Time of Flight detection.
This component may also be used as a beam
detector.

Example: TOF_PSDmonitor(xmin=-0.1, xmax=0.1, ymin=-0.1, ymax=0.1,
ny=90, nchan=100, TOFmin=0.0, TOFmax=20000.0, filename="Output.psd")

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
ny1Number of pixel rows90
nchan1Number of TOF channels100
xwidthmwidth of detector opening0.1
xminmLower x bound of detector opening0
xmaxmUpper x bound of detector opening0
yheightmheight of detector opening0.1
yminmLower y bound of detector opening0
ymaxmUpper y bound of detector opening0
TOFminmu-sBeginning TOF window0
TOFmaxmu-sEnd TO window1e6
nowritefile1If set, detector will skip writing to disk0
filenamestrName of file in which to store the detector image0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on mcstas 3.6.1


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