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


About McStas
 Conditions of use
 Project funding

 Other Downloads (share)

Mailing list

Search web/mailinglist

 Wiki (GitHub)
 McStas manual


Report bugs (GitHub)

Code-repository (GitHub)

McStas: Filter_graphite Component

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

The Filter_graphite Component

Pyrolytic graphite filter (analytical model)


  • Author: Thomas C Hansen
  • Origin: ILL
  • Date: 07 March 2000
  • Version:(Unknown)
  • Modification history:
    • E. Farhi, uniformize parameter names (Jul 2008)


This rectangular pyrolytic graphite filter uses an analytical model
with linear interpolation on the neutron wavelength
This type of filter is e.g. used to supress higher harmonics, such as
the 1.2 AA contribution to the 2.4 AA obtained by a highly oriented
pyrolytic graphite (HOPG) monochromator.

Example: Filter_graphite(xmin=-.05, xmax=.05, ymin=-.05, ymax=.05, length=1.0)

WARNING: This is a contributed Component.

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
xmin m Lower x bound -0.16
xmax m Upper x bound 0.16
ymin m Lower y bound -0.16
ymax m Upper y bound 0.16
length m Thickness of graphite plate 0.05
xwidth m Width of filter. Overrides xmin,xmax. 0
yheight m Height of filter. Overrides ymin,ymax. 0


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

Generated automatically by McDoc, Peter Willendrup <> / Wed Jan 12 15:13:20 2022

Last Modified: Wednesday, 12-Jan-2022 16:13:20 CET
Search website mailinglist archive GitHub repos