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

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)



McStas: Cyl_monitor

[ Identification | Description | Input parameters | Links ]

The Cyl_monitor Component

A 1D angular monitor with cylindrical shape and vertical axis.

Identification

  • Author: Kim Lefmann
  • Origin: Risoe
  • Date: October 26, 2000

Description

A cylindrical monitor with vertical axis, centered at (0,0,0), that records
intensity as a function of the horizontal angle atan2(x,z) in nr bins from thmin
to thmax. Rays are detected where they leave the cylinder, i.e. coming from inside.

Example: Cyl_monitor(nr=20, filename="Output.cyl", yheight=0.2, radius=0.1)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
nr1Number of angular bins20
filenamestringName of file in which to store the detector image0
yheightmHeight of detector10
radiusmRadius of detector1
restore_neutron1If set, the monitor does not influence the neutron state0
thmindegMinimum angle covered/measured-180
thmaxdegMaximum angle covered/measured180
nowritefile1If set, monitor will skip writing to disk0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


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

Generated on mcstas 3.10.5


Last Modified: Wed Dec 2 00:25:28 2026
Search website mailinglist archive GitHub repos