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

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Mailing list

Links

Search

Code-repository (GitHub)

Report bugs (GitHub)


McXtrace: Perfect_crystal

[ Identification | Description | Input parameters | Links ]

The Perfect_crystal Component

Perfect crystal with diamond or zincblende structure

Identification

  • Site:
  • Author: Anette Vickery, Andrea Prodi, Erik Knudsen
  • Origin: NBI
  • Date: April 2011

Description

Reads atomic formfactors from a data input file.
The PerfectCrystal code reflects ray in an ideal geometry, does not include surface imperfections or mosaicity

The crystal is positioned such that the long axis of the crystal surface coincides with
z-axis. The angle between the Bragg planes and the crystal surface is alpha


The algorithm:
Incoming photon's coordinates and direction (k-vector) are transformed into an elliptical reference frame
(elliptical parameters are calculated according to the mirror's position and its focusing distances and the  * incident angle), the intersection point is then defined.
A new, reflected photon is then starting at the point of intersection.
Notation follows Tadashi Matsushita and Hiro-O Hashizume, X-RAY MONOCHROMATORS. Handbook on Synchrotron Radiation,North-Holland Publishing Company, 1:263–274, 1983.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
form_factors"FormFactors.txt"
material"Si.txt"
R00
length0.05
width0.02
V160.1826
h1
k1
l1
alpha0.0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on mcxtrace 3.5.24


Last Modified: Sunday, 06-Apr-2025 20:25:04 CEST
Search website mailinglist archive GitHub repos