McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL DTU Physics

McXtrace

About McXtrace
 Publications
 Project Partners
 Project People
 Goal

Download
 Components

Mailing list

Search

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Links

Report bugs (GitHub)

Code-repository (GitHub)


McXtrace: Template_DCM

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

The Template_DCM Instrument

Template for a vertically defleting DCM

Identification

  • Site: Tests_optics
  • Author: Erik B Knudsen
  • Origin: DTU Physics
  • Date: Jan '21

Description

Simple skeleton instrument showing a vertically deflecting
double crystal monochromator. To instead make it horizontally deflecting
simply add Arms before and after the crystal assembly that rotate by
90 and -90 deg. respectively around the z-axis.
The crystal is illuminated by a model point source.

Examples

(Test cases in bold)
  • Test: theta=9.17 Detector: emon_dcm1_I=6.14859e-10

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
E0keVCentral energy to be emitted by the source. 0=set from theta.0
dEkeVHalf width to be emitted by the source0.2
thetadegRotation angle of the crystals. 0=set from E0.9.17

Links


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

Generated for mcxtrace 3.10.2


Last Modified: Monday, 02-Nov-2026 22:21:09 CET
Search website mailinglist archive GitHub repos