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)


McStas: Wavelength_Diffuser

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

The Wavelength_Diffuser Component

Wavelength-diffuser: Applies Gaussian smearing in wavelength.

Identification

  • Site:
  • 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)

Examples

(Test cases in bold)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
dlambdaAASigma-value for Gaussian wavelength-smearing1
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


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

Generated on mcstas 3.8.4


Last Modified: Friday, 11-Sep-2026 15:00:09 CEST
Search website mailinglist archive GitHub repos