Neutron parameters are stored when entering in the PreMonitor.
If this neutron then reaches the associated Monitor_nD, this latter
component measures the previously stored parameters. This enables to study
correlations between a given parameter in one place of the instrument
and an other detection position in the instrument.
The neutron state is monitored at the previous component location.
Here follows a Phase-Space correlation diagram detector
(used for guides for instance)
MyPreMonitor = PreMonitor_nD(
monitor_comp = MyMonitor)
(... for instance a Guide ...)
MyMonitor = Monitor_nD(
xmin = -0.1, xmax = 0.1,
ymin = -0.1, ymax = 0.1,
options = "hdiv x, auto, use premonitor");