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)


McXtrace: Capillary

[ Identification | Description | Input parameters | Links ]

The Capillary Component

A capillary tube

Identification

  • Site:
  • Author: Erik B Knudsen
  • Origin: DTU Physics
  • Date: July 2015

Description

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 et.al., 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.

Example: Capillary(
radius=1e-4,length=0.1, R0=0, coating="Rh.txt")

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
coatingstrName of file containing the material data (i.e. f1 and f2) for the coating"Be.txt"
longw0/1If non-zero, waviness is purely longitudinal in its nature.1
radiusmRadius of curvature.1
lengthmLength of the unbent mirror.0.2
R00-1Fixed constant reflectivity0
rtable0/1If nonzero, the coating file contains an E,theta parameterized matrix of raw reflectivities.0
wavinessradThe momentaneous waviness is uniformly distributed in the range [-waviness,waviness].0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on mcxtrace 3.5.24


Last Modified: Sunday, 06-Apr-2025 20:25:04 CEST
Search website mailinglist archive GitHub repos