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

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


McStas: Test_mcplot_loader

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

The Test_mcplot_loader Instrument

Regression test of the mcplot data loader (mccodelib) for ASCII and NeXus output.

Identification

  • Site: Tests_other
  • Author: Peter Willendrup
  • Origin: DTU
  • Date: October 2026

Description

A 0D, a 1D and a non-square 2D monitor for test_mcplot_loader.py, which
scans 'w' with and without --format=NeXus and checks that mcplot's data
loader reads the same scan curves, per-step monitors and single-run
monitors from both formats.

Examples

(Test cases in bold)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
wmWidth of the source focusing window0.05

Links

  • Source code for Test_mcplot_loader.instr.
  • test_mcplot_loader.py next to this instrument.

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

Generated for mcstas 3.10.2


Last Modified: Monday, 02-Nov-2026 21:37:10 CET
Search website mailinglist archive GitHub repos