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: Test_grating_trans

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

The Test_grating_trans Instrument

Template/test instrument for Grating_trans

Identification

  • Site: Tests_optics
  • Author: Erik B Knudsen (erkn@fysik.dtu.dk)
  • Origin: DTU Physics
  • Date: Aug 21

Description

A simple test insrument for the transmission grating component. Two examples
of gratings are included matching those in the Chandra X-ray Observatory

Examples

(Test cases in bold)
  • Test: Test_grating_trans.instr E0=1.2 dE=0.01 GD=3 MEG=0 Detector: psd_giant_I=0.0269197
  • Test: Test_grating_trans.instr E0=1.2 dE=0.01 GD=3 MEG=1 Detector: psd_giant_I=0.0573462

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
E0keVCentral energy to emit from the source.1
dEkEVHalf energy spread of source.0.001
GDmDistance from grating to detector.1
RxdegRotation of grating around the X-axis.0
RydegRotation of grating around the Y-axis.0
RzdegRotation of grating around the Z-axis.0
MEG Flag to chosse between the two included gratings. 1: medium energy grating (MEG), 0: high energy grating (HEG).0

Links

  • Source code for Test_grating_trans.instr.
  • https://cxc.harvard.edu/proposer/POG/html/chap8.html#tb:hetg-params

[ 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