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

 Wiki (GitHub)
 McStas manual


Report bugs (GitHub)

Code-repository (GitHub)

McStas: Monitor_Optimizer Component

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

The Monitor_Optimizer Component

To be used after the Source_Optimizer component


  • Author: Emmanuel Farhi
  • Origin: ILL (France)
  • Date: 17 Sept 1999
  • Version:(Unknown)
  • Modification history:
    • EF, (Feb 2000)
    • EF, Mar 10th, 2000 : now uses struct
    • EF, Oct 12th, 2000 ; optim divergence (0.08)


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 no quotes [] name of the Source_Optimizer component in the instrument definition. Do not use 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

Output parameters

Name Unit Description Default


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

Generated automatically by McDoc, Peter Willendrup <> / Wed Jan 12 15:13:31 2022

Last Modified: Wednesday, 12-Jan-2022 16:13:31 CET
Search website mailinglist archive GitHub repos