Skip to content
Snippets Groups Projects
Commit 49baebba authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

explain beam polarization

parent cc13ea95
No related branches found
No related tags found
1 merge request!1724Wedo06
......@@ -8,6 +8,16 @@ weight = 60
Sample magnetization is explained in
[Sample model > Materials > Magnetization](ref/sample/material/magnetization).
Beam polarization is set through
```python
beam.setPolarization(polarizer_dir) # for scattering
scan.setPolarization(polarizer_dir) # for specular and offspec
```
The `polarizer_dir` is a Bloch vector, created by
```
R3(x, y, z)
```
If it is a unit vector, then the beam polarization is perfect.
A shorter vector indicates imperfect polarization.
{{% children %}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment