McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


McStas: Tools_ONION

[ Identification | Description | Input parameters | Links ]

The Tools_ONION Instrument

Identification

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

Description

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 'Onion_analyzerScript.py' available at
https://github.com/McStasMcXtrace/McCode-contribution-support-docs/tree/master/McStas/2.6_Onion_tool_T_Huegle

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.
NameUnitDescriptionDefault
divergencedegreesangular divergence of neutrons reaching the sample0.4
distancemdistance between source and sample32
filename"source_sct521_bu_08_1.dat"

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2023-09-19 20:01:36


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