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


About McStas
 Conditions of use
 Project funding

 Other Downloads (share)

Mailing list

Search web/mailinglist

 McStas manual



Links <- UPDATED!

Report bugs


McStas: NPI_tof_theta_monitor Component

[ Identification | Description | Input parameters | Output parameters | Links ]

The NPI_tof_theta_monitor Component

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


  • Author: Kim Lefmann
  • Origin: Risoe
  • Date: October 2000
  • Version: 1.1
  • Modification history:
    • Kim Lefmann, October 9, 2001
    • J Navrátil (NPI Řež), December 10, 2015


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)

WARNING: This is a contributed Component.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
nt 1 Number of time bins 128
na 90
filename text Name of file in which to store the detector image 0
radius m Cylinder radius 1
yheight m Cylinder height 0.3
tmin mu-s Beginning of time window  
tmax mu-s End of time window  
amin deg minimum of scattering angle to be detected  
amax deg maximum of scattering angle to be detected  
restore_neutron 1 If set, the monitor does not influence the neutron state 1
verbose 0


[ Identification | Description | Input parameters | Output parameters | Links ]

Generated automatically by McDoc, Peter Willendrup <> / Fri May 7 10:17:14 2021

Last Modified: Friday, 07-May-2021 12:17:14 CEST
Search website mailinglist archive GitHub repos