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

[ Identification | Description | Input parameters | Links ]

The Lens_simple Component

Simple refractive x-ray lens

Identification

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

Description

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.

Example: Lens_simple(xwidth=1e-5, yheight=1e-5, material_datafile="Be.txt",N=100,r=0.3e-3)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
xwidthmWidth of lens aperture.0
yheightmHeight of lens aperture.0
radiusmRadius of lens aperture (overrides xwidth & yheight).1e-3
T0-1Transmission efficiency of the lens.1
rmThe radius of curvature of the lens. Optional parameters:3e-4
N1The number of successive lenses in the stack.1
verbose0/1Extra information for debugging.0
fmFocal length - overrides the material_datafile - and diregards chromatic aberration.0
material_datafile File where the material parameters for the lens may be found. Format is similar to what may be found off the NIST website."Be.txt"
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links

  • Source code for Lens_simple.comp.
  • material datafile obtained from http://physics.nist.gov/cgi-bin/ffast/ffast.pl

[ 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