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

# The `templateDIFF` Instrument

Simple monochromator Diffractometer for powders

## Identification

- Site: Templates
- Author: E. Farhi
- Origin: LLB/ILL
- Date: 13 Apr 2006
- Version: 1.3

## Description

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

    Usual values for monochromator d-spacing
    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

    Example: mcrun templateDIFF.instr lambda=1 RV=-1

## Input parameters

Parameters in boldface are required; the others are optional.

Name | Unit | Description | Default
--- | --- | --- | ---
lambda | Angs | Wavelength at monochromator | 1
DM | Angs | d-spacing of monochromator | 3.355
Powder | str | File name for powder description | "Al2O3_sapphire.laz"
RV | m | Monochromator vertical curvature, 0 for flat, -1 for automatic setting | 0
L1 | m | Source-Monochromator distance | 17
L2 | m | Monochromator-Sample distance | 3.2
L3 | m | Sample-Detector distance | 1.471
verbose | 1 | Print DIF configuration. 0 to be quiet | 1

## Links

- Source code for `templateDIFF.instr`.

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