McXtrace logo

McXtrace - An X-ray ray-trace simulation package

ESRF; SAXSLAB Niels Bohr Institute DTU Physics


 Linux Installation (deb/rpm)
 Mac OSX Installation
 Unix Install (src code)
 Windows Installation

Project Status
 Project Partners
 Project People

Mailing list



Minutes of Meetings

McXtrace Art

About McXtrace



McXtrace: Template_Johann_spec Instrument at Templates

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

The Template_Johann_spec Instrument

Template instrument for a curved crystal Johann-spectrometer


  • Site: Templates
  • Author: Erik B Knudsen (
  • Origin: DTU Physics
  • Date: Jan 2019
  • Version: 1.0


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.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
L m Length of the analyzer crystal. 0.2
r_Row m Radius of the Rowland circle. Also governs the crystal curvature (2*r_Row). 0.5
theta_inc deg Angle of incidence at the crystal centre 78.5
dtheta_s deg Rotation angle of the Source. To allow scanning with a pencil beam across the crystal face. 0
phi_s deg Opening angle of source. If 0 it is set to cover the full crystal (and some). 0


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

Generated automatically by McDoc, Peter Willendrup <> / Tue Nov 26 12:17:24 2019

Last Modified: Tuesday, 26-Nov-2019 13:17:24 CET
Search website mailinglist archive SVN repos McCode Trac