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

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)



McStas: Test_filters

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

The Test_filters Instrument

Test instrument for McStas components as Be-filters

Identification

Description

Test instrument for cross-checking McStas components for use as Be-filters.
Where applicable, the temperature is set to 80K (corresponding to the header
of the Be.trm file used in Filter_gen

Examples

(Test cases in bold)
  • Test: Filter=0 Detector: L_out_I=2183.87
  • Test: Filter=1 T=80 Detector: L_out_I=1875.02
  • Test: Filter=2 Detector: L_out_I=1868.5
  • Test: Filter=3 Detector: L_out_I=2011.26

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
LminAALowest wavelength from source0.5
LmaxAAHighest wavelength from source10
Filter1Choice of filter 0: Filter_gen, 1: NCrystal, 2: PowderN, 3: Isotropic_Sqw0
nL1Number of wavelength bins in [Lmin Lmax] interval101
zdepthmDepth of Be-filter0.15
TKFilter temperature (NCrystal only)80

Links


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

Generated for mcstas 3.10.2


Last Modified: Tue Nov 3 18:52:15 2026
Search website mailinglist archive GitHub repos