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: Slit Component

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

The Slit Component

Rectangular/circular slit


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


Based on Slit-comp by Kim Lefmann and Henrik Roennow
A simple rectangular or circular slit. You may either
specify the radius (circular shape), which takes precedence,
or the rectangular bounds.
No transmission around the slit is allowed.
If cutting option is used, low-weight x-rays are ABSORBED

Example: Slit(xmin=-0.01, xmax=0.01, ymin=-0.01, ymax=0.01)
         Slit(radius=0.01, cut=1e-10)

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
xmin m Lower x bound -0.01
xmax m Upper x bound 0.01
ymin m Lower y bound -0.01
ymax m Upper y bound 0.01
radius m Radius of slit in the z=0 plane, centered at Origo 0
cut 1 Lower limit for allowed weight 0
xwidth m Width of slit. Overrides xmin,xmax. 0
yheight m Height of slit. Overrides ymin,ymax. 0
dist 0
focus_xw 0
focus_yh 0
focus_x0 0
focus_y0 0


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

Generated automatically by McDoc, Peter Willendrup <> / Mon Oct 29 11:36:48 2018

Last Modified: Monday, 29-Oct-2018 12:36:48 CET
Search website mailinglist archive SVN repos McCode Trac