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_reflect

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

The Test_grating_reflect Instrument

Unit-test instrument for the Grating reflect component.

Identification

  • Site: Tests_optics
  • Author: Stephane Bac, Antoine Padovani
  • Origin: Synchrotron Soleil
  • Date: Jul 21st 2022

Description

Simply a bending magnet illuminating a reflection grating.

Examples

(Test cases in bold)
  • Test: E0=1 -n 1e7 Detector: psd_monitor_I=3.53e+09

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
E0keVSource's center of emitted energy spectrum1
dEkeVSource's half-width of emitted energy spectrum0.1
angle_grating_normdeg.Angle between the norm of the grating and the incident ray88
number_lines_per_mm1/mmNumber of lines pr mm of the grating100
orderThe target order of the grating0
dphideg.Range of diffraction angle that is to be simulated -d_phi/2 ; d_phi/21

Links


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

Generated for mcxtrace 3.10.2


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