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: TestSANS Instrument at Templates

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

The TestSANS Instrument

Template instrument for a suite of SANS sample models.


  • Site: Templates
  • Author: Martin Cramer Pedersen ( and Søen Kynde (
  • Origin: KU-Science
  • Date: October 29th, 2012
  • Version:(Unknown)


Model instrument with test use-cases for a suite of SANS-sample components modelling
a set of in-solution SANS samples.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
DistSrcPin1 m Distance to first pinhole from source. 1.0
DistSrcPin2 m Distance to second pinhole - used for focussing rays. 10.0
DistPinSamp m Collimation length. 1.0
DistSampDet m Sample-detector-distance. 10.0
DetRadius m Radius of the circular detector. 4.0
Lambda AA Wavelength of the rays emitted from source. 4.5
DLambda AA Relative deviation of wavelength of the rays emitted from source. 0.1


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

Generated automatically by McDoc, Peter Willendrup <> / Wed Jan 12 15:13:32 2022

Last Modified: Wednesday, 12-Jan-2022 16:13:32 CET
Search website mailinglist archive GitHub repos