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

McStas
site 2

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

[ Identification | Description | Input parameters | Links ]

The ILL_H16_IN5_Mantid Instrument

The full ILL IN5B ToF spectrometer adapted for use with Mantid-friendly NeXus output.

Identification

  • Site: Mantid
  • Author: E. Farhi, J. Ollivier, Celia Castan Guerrero
  • Origin: Mantid
  • Date: Jan 2004-2009

Description

The full ILL IN5B: H16 guide & chopper system + sample + PSD and tof detector, adapted for
use with Mantid-friendly NeXus output. To compile and run, use these steps:

  1. Compile the instrument with NeXus support - zero neutrons:
    • export MCSTAS_CFLAGS="-g -lm -O2 -DUSE_NEXUS -lNeXus"
    • mcrun -c -n0 --format=NeXus ILL_H16_IN5_Mantid.instr --no-output-files
  2. Generate the IDF in XML format using the (Perl) mcdisplay tool:
    • mcdisplay ILL_H16_IN5_Mantid.instr -n0 --format=Mantid
  3. Run a simulation with NeXus output
    • mcrun ILL_H16_IN5_Mantid.instr --format=NeXus
The IN5@ILL TOF spectrometer from cold source to final detector, with sample. The detector model includes Fe housing and tube cross talk absorbing masks with angle restriction (neutrons that scatter in Fe in front of a tube and enter a different tube are absorbed).

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
lambdaAAmean incident wavelength4.5
dlambdaAAwavelength half width. Use e.g. 0.8*lambda for white beam.0.09

Links


[ Identification | Description | Input parameters | Links ]

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


Last Modified: Tuesday, 17-Sep-2024 05:31:14 CEST
Search website mailinglist archive GitHub repos