McXtrace logo

McXtrace - An X-ray ray-trace simulation package

ESRF; SAXSLAB Niels Bohr Institute DTU Physics

McXtrace

Download
 Components
 Linux Installation (deb/rpm)
 Mac OSX Installation
 Unix Install (src code)
 Windows Installation

Project Status
 Project Partners
 Project People
 Goal

Mailing list

Links

Publications

Minutes of Meetings

McXtrace Art

About McXtrace

Documentation
 Commands
 Tutorial

Search


McXtrace: TwinKB_ML Component

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

The TwinKB_ML Component

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

Identification

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

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.
Name Unit Description Default
reflectivity_datafile str File which contains reflectivities as a function of q. "Ref.txt"
theta deg Incident angle 1.2
s1 m Distance from the source to the multilayer  
s2 m Focusing distance of the multilayer  
length m Length of the mirrors 0.6
width m Width of the mirror along x-axis 0.2
R0 Constant reflectivity, R0=1 for an ideal situation. If R0=0, the code reads the reflectivity from the datafile 0

Output parameters

Name Unit Description Default
ref_table  
a  
b  
c  
M  
Z0  
Y0  
xi  
cost0  
Q1  
Q2  

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Tue Apr 28 09:59:35 2020


Last Modified: Tuesday, 28-Apr-2020 11:59:35 CEST
Search website mailinglist archive SVN repos McCode Trac