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
 Screenshots

Download
 Components
 Linux Install (deb/rpm)
 Mac OS X Install
 Unix Install (src code)
 Windows Install
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 FAQ
 Known problems
 Publications
 C Compilers
 Other
 Tools
 Tutorial

Workshops/conferences

Developments

Links

Report bugs

Git

McStas Ubuntu live-dvd


McStas: Diaphragm Component

[ Identification | Description | Input parameters | Output parameters | Links ]

The Diaphragm Component

Rectangular/circular diaphragm (alias of the Slit component)

Identification

  • Author: Peter Willendrup
  • Origin: DTU
  • Date: February 2016
  • Version: $Revision$

Description

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

Example: Diaphragm(xmin=-0.01, xmax=0.01, ymin=-0.01, ymax=0.01)
         Diaphragm(radius=0.01)


For INPUT PARAMETERS - please consult Slit.comp as Diaphragm is a copy of that component.

radius: Radius of diaphragm in the z=0 plane, centered at Origo (m)
xmin: Lower x bound (m)
xmax: Upper x bound (m)
ymin: Lower y bound (m)
ymax: Upper y bound (m)
xwidth: Width of diaphragm. Overrides xmin,xmax. (m)
yheight:Height of diaphragm. Overrides ymin,ymax. (m)


Input parameters

None.

Links


[ Identification | Description | Input parameters | Output parameters | Links ]

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Wed Apr 19 10:57:33 2017


Last Modified: Wednesday, 19-Apr-2017 12:57:33 CEST
Search website mailinglist archive GitHub repos