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



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.
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


[ Identification | Description | Input parameters | Links ]

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

Last Modified: Wednesday, 03-Jan-2024 19:59:11 CET
Search website mailinglist archive GitHub repos