McXtrace logo

McXtrace - An X-ray ray-trace simulation package

ESRF; SAXSLAB Niels Bohr Institute DTU Physics



Project Status
 Project Partners
 Project People

Mailing list



Minutes of Meetings

McXtrace Art

About McXtrace



McXtrace: Lens_simple Component

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

The Lens_simple Component

Simple refractive x-ray lens


  • Author: Erik Knudsen
  • Origin: Risoe
  • Date: June 16, 2009
  • Version: 1.0


Models a stack of N refractive lenses, with a radius of curvature, r, at the apex.
The model is a thin-lens approximation where photons are refracted in a the XY plane
at Z=0. Absorption is generally disregarded may be handled through the use of the optional
transmission parameter T, where 0<=T<=1.
Thus, the lens has the focal length of f=R/(2*N*&delta) where the x-ray refractive
index is written: n = 1 - &delta + i &beta.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
xwidth m Width of lens aperture. 0
yheight m Height of lens aperture. 0
radius m Radius of lens aperture (overrides xwidth & yheight). 1e-3
T Transmission efficiency of the lens. 1
r The radius of curvature of the lens. 0
N The number of successive lenses in the stack. 1
verbose Extra information for debugging. 0
f m Focal length - overrides the material_datafile - and diregards chromatic aberration. 1
material_datafile File where the material parameters for the lens may be found. Format is similar to what may be found off the NISP website. "Be.txt"

Output parameters

Name Unit Description Default


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

Generated automatically by McDoc, Peter Willendrup <> / Mon Aug 16 15:54:47 2021

Last Modified: Monday, 16-Aug-2021 17:54:47 CEST
Search website mailinglist archive SVN repos McCode Trac