McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


McStas: Slit

[ Identification | Description | Input parameters | Links ]

The Slit Component

Rectangular/circular slit

Identification

  • Site:
  • Author: Kim Lefmann and Henrik M. Roennow
  • Origin: Risoe
  • Date: June 16, 1997

Description

A simple rectangular or circular slit. You may either
specify the radius (circular shape), or the rectangular bounds.
No transmission around the slit is allowed.

Example: Slit(xmin=-0.01, xmax=0.01, ymin=-0.01, ymax=0.01)
Slit(xwidth=0.02, yheight=0.02)
Slit(radius=0.01)

The Slit will issue a warning if run as "closed"

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
xminmLower x boundUNSET
xmaxmUpper x boundUNSET
yminmLower y boundUNSET
ymaxmUpper y boundUNSET
radiusmRadius of slit in the z=0 plane, centered at OriginUNSET
xwidthmWidth of slit. Overrides xmin,xmax if they are unset.UNSET
yheightmHeight of slit. Overrides ymin,ymax if they are unset.UNSET
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2023-09-19 20:01:36


Last Modified: Wednesday, 03-Jan-2024 19:59:10 CET
Search website mailinglist archive GitHub repos