|
|
|
|
![]() |
![]() |
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||
|
About McStas Download Documentation |
7.2 The Set_pol McStas Component(Unphysical) way of setting the polarization.
Identification
DescriptionThis component has no physical size (like Arm - also drawn that way), but is used to set the polarisation in one of four ways: 1) (randomOn=0, normalize=0) Hardcode the polarisation to the vector (px, py, pz) 2) (randomOn!=0, normalize!=0) Set the polarisation to a random vector on the unit sphere 3) (randomOn!=0, normalize=0) Set the polarisation to a radnom vector within the unit sphere 4) (randomOn=0, normalize!=0) Hardcode the polarisation to point in the direction of (px,py,pz) but with polarization=1. Example: Set_pol(px=0, py=-1, pz=0)
Input parametersParameters in boldface are required; the others are optional.
Links
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||