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.
| Name | Unit | Description | Default |
| xory | | 1:check polarisatoin along x, 0:check polarisation along y | 1 |
Links
[ Identification
| Description
| Examples
| Input parameters
| Links ]
Generated for mcstas 3.8.4
Last Modified: Friday, 11-Sep-2026 15:00:08 CEST