Template instrument for a curved crystal Johann-spectrometer
Author: Erik B Knudsen (firstname.lastname@example.org)
Origin: DTU Physics
Date: Jan 2019
This is a template instrument for a Johann spectrometer intended
for easy inclusion in other "real" instrument simulations.
The source is a divergent line like source which illumnates the
full crystal. The analyzer crystal itself is modelled as a single
bent crystal curved to a primary radius of 2*Rowland-radius.
To include a Johann spectrometer in an instrument the sample should be put where
source is in this template. and otherwis copy-paste.
Parameters in boldface are required;
the others are optional.
Length of the analyzer crystal.
Radius of the Rowland circle. Also governs the crystal curvature (2*r_Row).
Angle of incidence at the crystal centre
Rotation angle of the Source. To allow scanning with a pencil beam across the crystal face.
Opening angle of source. If 0 it is set to cover the full crystal (and some).