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

The Test_Monitor_nD_BINS Instrument

Regression test for the NeXus "BINS" pixel map of a list-mode Monitor_nD with many non-spatial bins (issue #2484).

Identification

Description

With --format=NeXus, a list-mode Monitor_nD writes a "BINS" pixel map that
relates the event pixel ids to the detector geometry. The map spans the
spatial axes only (x, y, z, angle, divergence, theta, phi, or OFF faces).

The "events" monitor bins wavelength (100 bins), time (500000 bins) and
y (150 bins). Its BINS map holds the 150 y pixels. Before the fix it was
sized over all axes, 100 x 500000 x 150 = 7.5e9 pixels (about 180 GB), and
the simulation crashed during INITIALIZE without a message.

The "count" monitor is a plain y histogram used for the test value.

Run with --format=NeXus to exercise the BINS output; the default McCode
format writes no BINS map.

Examples

(Test cases in bold)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault

Links


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

Generated for mcstas 3.5