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

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

The Test_Sans_spheres Instrument

A small instrument to compare the Sans_spheres and SANS_spheres2 components

Identification

  • Site: Test_samples
  • Author: Daniel Lomholt Christensen
  • Origin: Niels Bohr Institute @ UCPH
  • Date: 18/08/2026

Description

This instrument is a small SANS instrument that simulates the Sans_spheres
component, and the SANS_spheres2 component, in order to ensure that they
give the same value in this specific case.

Examples

(Test cases in bold)
  • Test: use_SANS_spheres2=0 Detector: psd_det_I=9.73795e+06
  • Test: use_SANS_spheres2=1 Detector: psd_det_I=9.73795e+06

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
E_imeVEnergy of the simulated neutrons.5
use_SANS_spheres21Flag to select whether to use the Sans_spheres component or the SANS_spheres2 component.0
improved_res1Flag to indicate whether the instrument should run in the insanely good resolution mode.0
flux_multn/sFactor that is multiplied onto the source component in order to adjust the flux.0.5512

Links


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

Generated for mcstas 3.8.4


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