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)


McStas: TwinKB_ML

[ Identification | Description | Input parameters | Output 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

Output parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault

Links


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

Generated on 2022-02-07 20:46:44


Last Modified: Wednesday, 11-May-2022 22:46:12 CEST
Search website mailinglist archive GitHub repos