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: Tools_ONION

[ Identification | Description | Input parameters | Links ]

The Tools_ONION Instrument


  • Site: Mantid
  • Author: Thomas Huegle
  • Origin: ORNL
  • Date: July 2019


Test case for an layered detector shell instrument to provide quick overview of resolution per pixel.
Set up to be run in McStas -> Mantid mode, refer to manual for details on execution.
Simulates desired divergence by adjusting moderator size.
Considers only in-plane (xwidth) factors, sets yheight as 1 cm.
For an example on how to analyze the data, see the '' available at

Acceptable statistics can be achieved by running the simulation with 1E7 neutrons (output file: ~400MB)

Input parameters

Parameters in boldface are required; the others are optional.
divergencedegreesangular divergence of neutrons reaching the sample0.4
distancemdistance between source and sample32


[ Identification | Description | Input parameters | Links ]

Generated on 2024-01-03 11:47:43

Last Modified: Tuesday, 16-Apr-2024 20:05:22 CEST
Search website mailinglist archive GitHub repos