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

[ Identification | Description | Input parameters | Links ]

The Grating_trans Component

Transmission grating

Identification

  • Author: Erik B Knudsen (erkn@fysik.dtu.dk)
  • Origin: DTU Physics
  • Date: December 2016

Description

Model of a 1D rectangular transmission grating based on the theory developed in Schnopper et. al., Applied Optics, 1977.
The grating lines are assumed to be vertical. Within each period a fraction gamma is the "open" fraction.
(I.e. 1 is completely open). At present only absorption in the substrate (modelled by the thickness sdepth)
is included.

This  component is currently undergoing validation.

Example: Grating_trans(
xwidth=25e-3, yheight=25e-3, gamma=0.4, period=2000e-10, zdepth=5100e-10, max_order=3, material="Au.txt")

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
xwidthmWidth of the grating. Defines how many lines there are in total.1e-3
yheightmHeight of the grating.1e-3
periodmDistance between grating grooves.1e-6
gamma0-1Ratio between groove and period aka duty cycle. 1 means fully open.0.5
zdepthmDepth of grooves.1e-6
sdepthmThickness of substrate. The default is to have no substrate - i.e. rods.0
materialstrData file containing the material from which the grating is made."Au.txt"
substratestrData file containing material data for the substrate.""
max_order1Maximum order to diffract2
fixed_delta0/1Set delta to the given constant. Useful for debugging.0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


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

Generated on mcxtrace 3.10.2


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