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

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)


The CavitiesIn McStas Component

14.35  The CavitiesIn McStas Component

Slit - sorting in channels

Identification

  • Author: Henrich Frielinghaus

  • Origin: JCNS - FZ-Juelich

  • Date: Oct 2007

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

  • Component source code found in file CavitiesIn.comp.


Last Modified: Tuesday, 06-Oct-2026 21:19:11 CEST
Search website mailinglist archive GitHub repos