Component Manual for the Neutron Ray-Tracing Package McStas, version 3.8.6

3.9  The Monitor_Optimizer McStas Component

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

Identification

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.