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: DTU Physics
  • Date: June 16, 2009
  • Version:(Unknown)


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 rectangular bounds.
No transmission around the slit is allowed.

Example: Slit(xmin=-0.01, xmax=0.01, ymin=-0.01, ymax=0.01)

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
xmin m Lower x bound. 0
xmax m Upper x bound. 0
ymin m Lower y bound. 0
ymax m Upper y bound. 0
radius m Radius of slit in the z=0 plane, centered at Origin. 0
xwidth m Width of slit. Overrides xmin,xmax. 0
yheight m Height of slit. Overrides ymin,ymax. 0
dist m Distance from slit plane to plane containing resampling target. 0
focus_xw m Width of resampling window. 0
focus_yh m Height of resampling window. 0
focus_x0 m Centre (x) of resampling window. 0
focus_y0 m Centre (y) of resampling window. 0


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

Generated automatically by McDoc, Peter Willendrup <> / Tue Apr 28 09:59:35 2020

Last Modified: Tuesday, 28-Apr-2020 11:59:35 CEST
Search website mailinglist archive SVN repos McCode Trac