Component Manual for the Neutron Ray-Tracing Package McStas, version 3.8.6

14.35  The CavitiesIn McStas Component

Slit - sorting in channels

Identification

Description

This routine sorts the ’full’ neutron beam (given by xw,yw) in xc,yc channels. These can be imagined as cavities. CavitiesOut sorts these channels back to normal coordinates.

Example: Slit(xw=0.05, yw=0.05, xc=4, yc=1)

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

xw

m

width in X-dir

0.05

yw

m

width in Y-dir

0.05

xc

m

channels in X-dir

1

yc

m

channels in Y-dir

1

Links