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

[ Identification | Description | Input parameters | Links ]

The Mirror Component

Perfectly flat mirror (in XZ or YZ), or polygonal

Identification

  • Author: Erik B Knudsen
  • Origin: DTU Physics
  • Date: July 2016

Description

This is a simple implementation of a perfectly flat mirror. The mirror plane is in the XZ-plane.
It can be oriented in the YZ plane by setting 'yheight'.
It may also be a complex polygonal geometry (OFF/PLY) by setting 'geometry'.

Reflectivity may be specified either as a number (R0) or by means of a material datafile.
The material datafile may be specified as a coating or as relfectivity - either parameterized by q or E,theta.
If the datafile is identified as a coating recipe, an ab-initio reflectivity calculation is triggered.

Example: Mirror(xwidth=5e-2, zdepth=2e-1, R0=1, coating="B4C.dat")

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
zdepthmThe length of the mirror0.1
xwidthmThe width of the mirror0.01
yheightmThe height of the mirror. This overrides xwidth and puts the mirror in the yz-plane.0
coatingstrFilename containing reflectivities (or coating).""
R00-1Constant reflectivity1
geometrystrFilename of an OFF/PLY geometry providing a polygonal surface. When xwidth/yheight/zdepth are also given, the object is rescaled accordingly.""
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