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

[ Identification | Description | Input parameters | Links ]

The templateDIFF Instrument

Simple monochromator Diffractometer for powders


  • Site: Templates
  • Author: E. Farhi
  • Origin: LLB/ILL
  • Date: 13 Apr 2006


A template powder diffractometer used as a tutorial at LLB.
Default geometry is from D20@ILL.

If included after a guide, use ALPHA1=0 and L1=0 (the first collimator is then
the guide with effective ALPHA1=m*0.1*lambda). If you prefer to include
explicitely a collimator before the monochromator, use L1=1.2.

Monochromator lattice parameter
PG       002 DM=3.355 AA (Highly Oriented Pyrolythic Graphite)
PG       004 DM=1.607 AA
Heusler  111 DM=3.362 AA (Cu2MnAl)
CoFe         DM=1.771 AA (Co0.92Fe0.08)
Ge       111 DM=3.266 AA
Ge       311 DM=1.714 AA
Ge       511 DM=1.089 AA
Ge       533 DM=0.863 AA
Si       111 DM=3.135 AA
Cu       111 DM=2.087 AA
Cu       002 DM=1.807 AA
Cu       220 DM=1.278 AA
Cu       111 DM=2.095 AA

Input parameters

Parameters in boldface are required; the others are optional.
lambdaAngsWavelength at monochromator, computed from DM and THETA_M if left as 0.1
DMAngsd-spacing of monochromator, computed from lambda and THETA_M if left as 0.3.355
PowderstrFile name for powder description"Na2Ca3Al2F14.laz"
RVmMonochromator vertical curvature, 0 for flat, -1 for automatic setting-1
L1mSource-Monochromator distance17
L2mMonochromator-Sample distance3.2
L3mSample-Detector distance1.471
ALPHA1minHorizontal collimator divergence for L1 arm (before monochromator)5
ALPHA2minHorizontal collimator divergence for L2 arm (monochromator-sample)60
ALPHA3minHorizontal collimator divergence for L3 arm (sample-detector)5
ETAminMonochromator horizontal mosaic (gaussian)12
verboseintPrint DIF configuration. 0 to be quiet1
THETA_MdegMonochromator take-off angle, computed from lambda and DM if left as 0.0
SMintScattering sense of beam from Monochromator. 1:left, -1:right1


[ 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