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
 Screenshots

Download
 Components
 Linux Install (deb/rpm)
 Mac OS X Install
 Unix Install (src code)
 Windows Install
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 FAQ
 Known problems
 Publications
 C Compilers
 Other
 Tools
 Tutorial

Workshops/conferences

Developments

Links

Report bugs

Git

McStas Ubuntu live-dvd


McStas: templateSasView_Mantid Instrument at Templates

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

The templateSasView_Mantid Instrument

Test instrument for the SasView_model component generating event data for Mantid. No guide / velocity selector etc.

Identification

  • Site: Templates
  • Author: Peter Willendrup and Torben Nielsen
  • Origin: DTU, European Spallation Source ERIC
  • Date: 25 Jan 2016
  • Version:(Unknown)
  • Modification history:
    • Based on templatesSANS.instr by Kim Lefmann

Description

Very simple test instrument for the SasView_model component.

Modified to show a proof of concept method for storing a 'Mantid friendly' type of NeXus file.

Needed steps (McStas):
1) Compile your instrument with NeXus library and ISO c99 support
2) Generate an IDF using mcdisplay templateSANS_Mantid --format=Mantid -n0
3) mcrun templateSasView_Mantid -n1e6 --format=NeXus

Needed steps (Mantid):
a) Load McStas NeXus file
b) Run Mantid algorithm: 'ConvertUnits' using the 'wavelenth' and 'elastic' options
c) Run Mantid algorithm: 'Qxy' using the options 'MaxQxy=0.6', 'DeltaQ=0.003', 'SolidAngleWeighting=False'

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
lambda AA Mean wavelength of neutrons 6
dlambda AA Wavelength spread of neutrons 0.05

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Mon May 22 14:59:10 2017


Last Modified: Monday, 22-May-2017 16:59:10 CEST
Search website mailinglist archive GitHub repos