# The `Template_2Slit_Diff` Instrument

*McXtrace: An example instrument showing a Young's double slit experiment*

## Identification

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

## Description

```text
A template instrument that shows double slit diffraction.
Two identical slits are positioned 1m downstream from a point source, The slit
width and their separation 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. | 1e-6 |
| SLITSEP | m | Double slit separation. | 4e-6 |

## Links

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

---
