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

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

[ Identification | Description | Input parameters | Links ]

The TOF2E_monitor Component

TOF-sensitive monitor, converting to energy

Identification

  • Site:
  • Author: Kim Lefmann and Helmuth Schoeber
  • Origin: Risoe
  • Date: Sept. 13, 2006

Description

A square single monitor that measures the energy of the incoming neutrons
from their time-of-flight

Example: TOF2E_monitor(xmin=-0.1, xmax=0.1, ymin=-0.1, ymax=0.1, Emin=1, Emax=50, nE=20, filename="Output.nrj", L_flight=20, T_zero=0)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
nE1Number of energy channels20
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
EminmeVMinimum energy to detect
EmaxmeVMaximum energy to detect
T_zerosZero point in time
L_flightmflight length user in conversion
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, 16-Apr-2024 20:05:22 CEST
Search website mailinglist archive GitHub repos