[ Identification | Description | Input parameters | Links ]

The Grating_reflect Component

A reflective grating.

Identification

Description

A reflective grating that diffracts incident photons.
The grating is in the XZ-plane. It then reflects the incoming photon using a MC picked angle,
where the angle is picked from a uniform distribution of width d_phi, i.e. U[-d_phi/2,d_phi/2]
The Monte Carlo wight of the ray is then adjusted wrt. to the grating interference pattern, and
the diffraction pattern associated with each grating line. All lines are considered equal.
For more efficient sampling of a particular direction the centre of the d_phi may be shifted
using the parameters order or phi0. In the latter case a set angle is chosen as the centre of the
sampled interval, in the former the centre angle is computed from the specified grating order.

Slit model: the grating is treated as N slits of width b and pitch d (Fraunhofer), which is an approximation for a
reflective lamellar grating: no groove depth, obliquity factor or shadowing. The efficiency summed over orders is R0*b/d.
These are derived internally, not input parameters: d = 1e7/rho_l [AA], b = d/3 [AA], N = zdepth*rho_l*1e3.
The polarisation is only projected perpendicular to the new k, no polarisation-dependent reflectivity is applied.

Example: Grating_reflect(
d_phi=1,order=0,rho_l=100,zdepth=102e-3,xwidth=102e-3)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
d_phidegRange of diffraction angle that is to be simulated -d_phi/2 ; d_phi/2.1
R00-1Constant reflecticity of the grating [0;1].1
rho_ll/mmNumber of lines pr mm of the grating.800
order1The target order of the grating. If non-zero d_phi will be centered around this scattering line.0
phi0degOutgoing grazing angle (from the grating surface, in the plane perpendicular to the lines) on which d_phi is centered. 0 means unset, so the line chosen by order is used.0
zdepthmThe length of the grating.0.015
xwidthmThe width of the grating.0.136
verbose0/1If non-zero, more information will be displayed. Nb. generates much output.0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


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

Generated on mcxtrace 3.10.4