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)


The PolAnalyser_ideal McStas Component

7.3  The PolAnalyser_ideal McStas Component

(Unphysical) ideal analyzer.

Identification

  • Author: Erik Knudsen

  • Origin: Risoe

  • Date: June 2010

Description

This is an ideal model of a polarization analyser device. Given a polarization vector it "lets through" a scaled neutron weight. An imperfect analyzer could be modelled by an analysis vector M with |M|<1.

Example: PolAnalyser_ideal(mx=0, my=1, mz=0)

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

mx

1

X-component of polarisation analysis vector -1<mx<1

0

my

1

Y-component of polarisation analysis vector -1<my<1

0

mz

1

Z-component of polarisation analysis vector -1<mz<1

0

Links

  • Component source code found in file PolAnalyser_ideal.comp.


Last Modified: Tuesday, 06-Oct-2026 21:19:10 CEST
Search website mailinglist archive GitHub repos