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

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

The Unittest_SPLIT_sample Instrument

SPLIT unittest including samples

Identification

  • Site: Tests_grammar
  • Author: Peter Willendrup
  • Origin: DTU
  • Date: Oct 28th, 2021

Description

SPLIT unittest.

One unit of intensity is emitted from a 1x1 m.

Examples

(Test cases in bold)
  • Test: SAMPLE=1 SPLITS=1 Detector: PSD_I=1
  • Test: SAMPLE=1 SPLITS=10 Detector: PSD_I=10
  • Test: SAMPLE=1 SPLITS=100 Detector: PSD_I=100
  • Test: SAMPLE=2 SPLITS=1 Detector: PSD_I=1
  • Test: SAMPLE=2 SPLITS=10 Detector: PSD_I=10
  • Test: SAMPLE=2 SPLITS=100 Detector: PSD_I=100
  • Test: SAMPLE=3 SPLITS=1 Detector: PSD_I=0.999001
  • Test: SAMPLE=3 SPLITS=1 Detector: PSD_transmission_I=0.00071068
  • Test: SAMPLE=3 SPLITS=1 Detector: PSD_scattered_I=0.00182805
  • Test: SAMPLE=3 SPLITS=10 Detector: PSD_I=9.99001
  • Test: SAMPLE=3 SPLITS=10 Detector: PSD_transmission_I=0.007122
  • Test: SAMPLE=3 SPLITS=10 Detector: PSD_scattered_I=0.0183156
  • Test: SAMPLE=3 SPLITS=100 Detector: PSD_I=99.9001
  • Test: SAMPLE=3 SPLITS=100 Detector: PSD_transmission_I=0.070845
  • Test: SAMPLE=3 SPLITS=100 Detector: PSD_scattered_I=0.182056

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
SAMPLE11=Incoherent, 2=PowderN(Al.lau), 3=Single_crystal(Al.lau)1
SPLITS1Number of SPLIT to do10
Pp01Dummy input parameter used internally for ensuring unit evennt weight1

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