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)


The Radial_div McStas Component

14.104  The Radial_div McStas Component

A radial divergence sensitive monitor with wavelength restrictions.

Identification

  • Author: Kaspar Hewitt Klenø, modified from Hdiv_monitor

  • Origin: NBI

  • Date: Jan 2011

Description

A radial divergence sensitive monitor with wavelength restrictions. The counts are distributed in n pixels.

Example:

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

ndiv

1

Number of pixel rows

20

restore_neutron

1

If set, the monitor does not influence the neutron state

0

filename

str

Name of file in which to store the detector image

xmin

m

Lower x bound of detector opening

0

xmax

m

Upper x bound of detector opening

0

ymin

m

Lower y bound of detector opening

0

ymax

m

Upper y bound of detector opening

0

xwidth

m

Width/diameter of detector (x). Overrides xmin,xmax.

0

yheight

m

Height of detector (y). Overrides ymin,ymax.

0

maxdiv_r

deg

Maximal radial divergence detected

2

Lmin

Å

Minimum wavelength detected

Lmax

Å

Maximum wavelength detected

Links

  • Component source code found in file Radial_div.comp.


Last Modified: Tuesday, 06-Oct-2026 21:19:11 CEST
Search website mailinglist archive GitHub repos