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

[ Identification | Description | Input parameters | Links ]

The TwinKB_ML Component

Montel optic model (aka side-by-side Kirkpatrick Baez)

Identification

  • Site:
  • Author: Jana Baltser, Peter Willendrup, Anette Vickery, Andrea Prodi, Erik Knudsen, Jesper Buch Jensen
  • Origin: NBI
  • Date: May 2012

Description

Models a Montel optic, or Twin Kirkpatrick Baez mirror optic (hence the component name).
The mirror are cfully abutting, i.e. there's is no gap between them, and perfectly elliptic.

Reads reflectivity values from a data input file for a W/B4C multilayer.
The multilayer code reflects ray in an ideal geometry, the reflectivity datafile accounts for surface roughness, sigma.

The mirror is positioned such that the long axis of the mirror elliptical surface coincides with the z-axis.

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.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
reflectivity_datafilestrFile which contains reflectivities as a function of q."Ref.txt"
thetadegIncident angle1.2
s1mDistance from the source to the multilayer
s2mFocusing distance of the multilayer
lengthmLength of the mirrors0.6
widthmWidth of the mirror along x-axis0.2
R0 Constant reflectivity, R0=1 for an ideal situation. If R0=0, the code reads the reflectivity from the datafile0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2023-12-19 19:37:45


Last Modified: Tuesday, 13-Feb-2024 16:50:14 CET
Search website mailinglist archive GitHub repos