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

[ Identification | Description | Input parameters | Links ]

The Bragg_crystal_simple Component

Perfect Bragg reflecting slab

Identification

  • Author: Jose I. Robledo
  • Origin: FaMAF - UNC, Argentina
  • Date: February 2016

Description

Rectangle of matter perfectly reflecting the incident X-ray beam
that fulfills Bragg's law for a set of scattering vectors in the
vicinity of the theoretical Q given a d-spacing.
The rectangle is in the x-y plane.

Example: Bragg_crystal_simple( yheight=0.05, xwidth=0.02, DM=3.1356, err_Q= 0.000075, r0=1.0)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
xminmLower x bound (overridden by xwidth/yheight)1.0
xmaxmUpper x bound (overridden by xwidth/yheight)1.0
yminmLower y bound (overridden by xwidth/yheight)1.0
ymaxmUpper y bound (overridden by xwidth/yheight)1.0
xwidthmWidth in the x direction0.0
yheightmHeight in the y direction0.0
r0 Maximum reflectivity1
DMAA^-1d-spacing of the crystal0
err_Q dQ/Q relative error of the modulus of Q vector. Approximates the Darwin width of the crystal.0.0001
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


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

Generated on mcxtrace 3.10.2


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