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_pol_ideal

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

The Test_pol_ideal Instrument

Unit test instrument for Set_pol, PolAnalyser_ideal, and Pol_monitor

Identification

  • Site: Tests_polarization
  • Author: Erik B Knudsen (erkn@fysik.dtu.dk)
  • Origin: DTU Physics
  • Date: Nov 20

Description

Simply runs a short test to check that Set_pol, Pol_analyser_ideal, and Pol_monitor really do work

Examples

(Test cases in bold)
  • Test: xory=1 Detector: monitor_I=25.9341
  • Test: xory=0 Detector: monitor_I=4.4496
  • Test: xory=1 Detector: pmonitory_I=-0.70717

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
xory 1:check polarisatoin along x, 0:check polarisation along y1

Links


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

Generated for mcstas 3.8.4


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