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

[ Identification | Description | Input parameters | Links ]

The NPI_tof_theta_monitor Component

Cylindrical (2pi) PSD Time-of-flight monitor.

Identification

  • Site:
  • Author: Kim Lefmann
  • Origin: Risoe
  • Date: October 2000

Description

Derived from TOF_cylPSD_monitor.
Code is extended by the option allowing to define range of scattering angles, therefore creating only a part of the cylinder surface.
The plot is transposed when compared to TOF_cylPSD_monitor: scattering angles are on the horizontal axis.


Example:	TOF_cylPSD_monitor_NPI(nt = 1024, nphi = 960, filename = "Output.dat",
radius = 2, yheight = 1.0, tmin = 3e4, tmax = 12e4, amin = 75, amax = 105, restore_neutron = 1)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
filenameName of file in which to store the detector image (text)0
radiusCylinder radius (m)1
yheightCylinder height (m)0.3
tminBeginning of time window (mu-s)
tmaxEnd of time window (mu-s)
aminminimum angle to detect (deg)
amaxmaximum angle to detect (deg)
restore_neutronIf set, the monitor does not influence the neutron state (1)1
verbose0
ntNumber of time bins (1)128
na90
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

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


Last Modified: Tuesday, 16-Apr-2024 20:05:20 CEST
Search website mailinglist archive GitHub repos