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 Wavelength_Diffuser McStas Component

14.111  The Wavelength_Diffuser McStas Component

Wavelength-diffuser: Applies Gaussian smearing in wavelength.

Identification

  • Author: Viktor L. Holm

  • Origin: University of Copenhagen

  • Date: Aug 13, 2019

Description

A component that applies a Gaussian smearing in wavelength to the incoming neutron. The smearing is defined by a normal-distributed uncertainty in wavelength from 0 to +/- dlambda.

Example: Wavelength_Diffuser(dlambda = 1)

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

dlambda

Å

Sigma-value for Gaussian wavelength-smearing

1

Links

  • Component source code found in file Wavelength_Diffuser.comp.


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