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 Monitor_Optimizer McStas Component

3.9  The Monitor_Optimizer McStas Component

To be used after the <b>Source_Optimizer</b> component

Identification

  • Author: <a href="mailto:farhi@ill.fr">Emmanuel Farhi</a>

  • Origin: <a href="http://www.ill.fr">ILL (France)</a>

  • Date: 17 Sept 1999

Description

A component that optimizes the neutron flux passing through the Source_Optimizer in order to have the maximum flux at the Monitor_Optimizer position(s). Source_optimizer should be placed just after the source. Monitor_Optimizer should be placed at the position to optimize. I prefer to put one just before the sample.

See Source_Optimizer for usage example and additional informations.

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

optim_comp

str

name of the Source_Optimizer component in the instrument definition. Do not use quotes (no quotes)

xmin

m

Lower x bound of monitor opening

-0.1

xmax

m

Upper x bound of monitor opening

0.1

ymin

m

Lower y bound of monitor opening

-0.1

ymax

m

Upper y bound of monitor opening

0.1

xwidth

m

Width of monitor. Overrides xmin,xmax.

0

yheight

m

Height of monitor. Overrides ymin,ymax.

0

Links

Optimization locations for the Source_Optimizer

The Monitor_Optimizer component works with the Source_Optimizer component. See section 3.8 for usage.

The input parameters for Monitor_Optimizer are the rectangular shaped opening coordinates \(x_{min}\), \(x_{max}\), \(y_{min}\), \(y_{max}\), and the name of the associated instance of Source_Optimizer used in the instrument description file (one word, without quotes).

As many Monitor_Optimizer instances as required may be used in an instrument, for possibly more than one optimization location. Multiple instances may all have an effect on the total intensity.


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