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
radius
Radius of slit in the z=0 plane, centered at Origo (m)
0
cut
Lower limit for allowed weight (1)
0
xwidth
Width of slit. Overrides xmin,xmax. (m)
0
yheight
Height of slit. Overrides ymin,ymax. (m)
0
N
2
d
separation of slits (m)
0
Output parameters
Parameters in boldface are required;
the others are optional.