McXtrace logo

McXtrace - An X-ray ray-trace simulation package

ESRF; SAXSLAB Niels Bohr Institute DTU Physics

McXtrace

Download
 Components
 Linux Installation (deb/rpm)
 Mac OSX Installation
 Unix Install (src code)
 Windows Installation

Project Status
 Project Partners
 Project People
 Goal

Mailing list

Links

Publications

Minutes of Meetings

McXtrace Art

About McXtrace

Documentation
 Commands
 Tutorial

Search


McXtrace: Reflective_grating Component

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

The Reflective_grating Component

A reflective, multi purpose grating.

Identification

  • Author: Kristian Soerensen and Philip Smith (s154443@win.dtu.dk)
  • Origin: DTU
  • Date: June 2018
  • Version: 1.4

Description

A reflective grating that diffracts the incicence photon. 
The grating is in the XZ-plane. It then reflects the incomming photon using a MC picked angle, the span of this angle is given by d_phi (default=1)
 
Two modes are possible;
 0) Lamellar grating.
 1) Blazed grating.

Using Lamellar mode, the grating is diffracted using only the incomming and MC angle.
Using the Blazed mode, the grating diffracts the photon using the blazed angle.

The grating adjusts the weight of the given photon according to its direction based on:
 1) The incoming photon.
 2) Directional sampling.
 3) Outgoing angle.
 3) Interference and diffraction patterns.
If d_phi=0 and blazed=0, a perfectly reflecting mirror is simulated.


WARNING: This is a contributed Component.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
d_phi deg MC picked angle in the range [-d_phi/2 ; d_phi/2 ]. 1
R0 Constant reflecticity of the grating [0;1]. 1
r_rho l/mm Number of lines pr mm of the grating. 800
b AA Width of the spacing i Angstrom. If zero, default is found using r_rho/3. 0
N_slits 0
d AA Width of the slits in Angstrom. If zero, default is found using r_rho. 0
cff Not fully developed yet [ ] fixed focus constant for the blazed grating. 0
blazed_angle 0
zdepth m The length of the grating. 0.015
xwidth m The width of the grating. 0.136
blazed If nonzero, on-balzed condition will be used. If zero, lamellar conditions is used. 0
display If non-zero, information will be displayed. Nb. generates much output. 0

Output parameters

Name Unit Description Default
N_slits 0
b AA Width of the spacing i Angstrom. If zero, default is found using r_rho/3. 0
d AA Width of the slits in Angstrom. If zero, default is found using r_rho. 0
DirectionalSamplingFactor  

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Tue Nov 26 12:17:24 2019


Last Modified: Tuesday, 26-Nov-2019 13:17:24 CET
Search website mailinglist archive SVN repos McCode Trac