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

McStas
site 2

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: Tuesday, 17-Sep-2024 05:31:14 CEST
Search website mailinglist archive GitHub repos