McXtrace logo

McXtrace - An X-ray ray-trace simulation package

ESRF; SAXSLAB Niels Bohr Institute DTU Physics


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

Project Status
 Project Partners
 Project People

Mailing list



Minutes of Meetings

McXtrace Art

About McXtrace



McXtrace: Capillary Component

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

The Capillary Component

A capillary tube


  • Author: Erik B Knudsen
  • Origin: DTU Physics
  • Date: July 2015
  • Version: $Revision$


A Capillary tube allowing for reflections along the tube. A material coating can be applied. Multilayer
coatings may be handled by generating a reflectivity file (e.g. by IMD) and setting rtable=1.
Waviness is implemented using the model described in
Wang, J. Appl. Phys., 1996
where the grazing incidence angle $\theta$ is altered as
$\theta' = \theta + \delta \theta \in [-min(theta,\Delta\theta,\Delta\theta]$
This ensures that reflected rays will never be scattered into the capillary.
\Delta\theta is the value specified by the parameter waviness.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
coating "Be.txt"
longw If non-zero, waviness is purely longitudinal in its nature. 1
radius m Radius of curvature. 1
length m Length of the unbent mirror. 0.2
R0 Fixed constant reflectivity 0
rtable if nonzero, the coating file contains an E,theta paramterized matrix of raw reflectivities. 0
waviness rad The momentaneous waviness is uniformly distributed in the range [-waviness,waviness]. 0

Output parameters

Name Unit Description Default


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

Generated automatically by McDoc, Peter Willendrup <> / Tue Nov 26 12:17:24 2019

Last Modified: Tuesday, 26-Nov-2019 13:17:24 CET
Search website mailinglist archive SVN repos McCode Trac