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: NCrystal_filter_example

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

The NCrystal_filter_example Instrument

Example instrument for NCrystal_filter use

Identification

  • Site: NCrystal
  • Author: Thomas Kittelmann
  • Origin: ESS
  • Date: 2026

Description

A beam with wavelengths from 0.5 to 9.5 Aa passes through a filter
(NCrystal_filter), with wavelength monitors before and after it. With the
default cooled Be filter, the transmission is low below the Bragg cut-off at
3.96 Aa, and high above it.

Examples

(Test cases in bold)
  • Test: thickness=0.1 Detector: mon_after_I=0.000105

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
cfgstrNCrystal cfg-string of the filter material."stdlib::Be_sg194.ncmat;temp=80K"
thicknessmThickness of the filter.0.1

Links

  • Source code for NCrystal_filter_example.instr.
  • NCrystal_filter

[ 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