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_Bispectral_mirrors

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

The Test_Bispectral_mirrors Instrument

Single-point test of Mirror_Curved_Bispectral and Mirror_Elliptic_Bispectral against Mirror.

Identification

  • Site: Tests_optics
  • Author: Peter Willendrup
  • Origin: DTU
  • Date: November 2026

Description

A white pencil beam is reflected at grazing angle theta at one point of a flat
Mirror (mirror=0), of Mirror_Curved_Bispectral set flat with
theta_1=theta_2=theta_3=theta (mirror=1), and of Mirror_Elliptic_Bispectral
placed where an axis-parallel beam meets the elliptic wall at angle theta
(mirror=2). Mirror uses analytic parameters equivalent to the m-value model
built into the Bispectral mirrors, so the reflected spectra L_out agree.
Mirror and Mirror_Curved_Bispectral deflect towards -x, the elliptic wall
towards +x. With transmit=1 the elliptic mirror also transmits the
non-reflected part. Non-scattered neutrons are absorbed.

Examples

(Test cases in bold)
  • Test: mirror=0 Detector: L_out_I=1.57513e-15
  • Test: mirror=1 Detector: L_out_I=1.57472e-15
  • Test: mirror=2 Detector: L_out_I=1.57379e-15
  • Test: mirror=2 transmit=1 Detector: L_out_I=2.62418e-15

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
mirror10: Mirror, 1: Mirror_Curved_Bispectral, 2: Mirror_Elliptic_Bispectral0
thetadegGrazing angle at the reflection point1
m1m-value of the Bispectral mirrors2
transmit1Bispectral transmit option0

Links


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

Generated for mcstas 3.10.5


Last Modified: Wed Dec 2 00:25:28 2026
Search website mailinglist archive GitHub repos