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

[ Identification | Description | Input parameters | Links ]

The templateSANS_Mantid Instrument

Test instrument for the Sans_spheres component. No guide / velocity selector etc. Will be developed further at later time.

Identification

Description

Very simple test instrument for the Sans_spheres componen

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

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

Example: lambda=6 Detector: detector_I=7.20015e+06

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
lambdaAAMean wavelength of neutrons6
dlambdaAAWavelength spread of neutrons0.05
rAARadius of scattering hard spheres150
PHI1Particle volume fraction1e-3
Delta_Rhofm/AA^3Excess scattering length density0.6
sigma_absbarnsAbsorption cross section at 2200 m/s0.0

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2022-12-12 13:20:16


Last Modified: Wednesday, 09-Aug-2023 17:01:02 CEST
Search website mailinglist archive GitHub repos