# The `Template_1Slit_Diff` Instrument

*McXtrace: An example instrument showing single slit diffraction*

## Identification

- **Site:** Templates
- **Author:** Erik B Knudsen (erkn@fysik.dtu.dk)
- **Origin:** DTU Physics
- **Date:** Jan 2014

## Description

```text
A template instrument that shows how single slit diffraction works.
The slit is positioned 1m downstream from a point source. The slit
width may be varied. The slit height is set to .8e-6 m.
```

## Input parameters

Parameters in **boldface** are required; the others are optional.

| Name | Unit | Description | Default |
|------|------|-------------|---------|
| SLITW | m | Width of the slit in question. The | 5e-6 |

## Links

- [Source code](Template_1Slit_Diff.instr) for `Template_1Slit_Diff.instr`.

---
