1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
#!/usr/bin/env python3
# /// script
# requires-python = ">=3.10"
# dependencies = ["bornagain>=25,<26"]
# ///
"""
A molybdenum-silicon multilayer as polarizer for extreme ultraviolet light
(13.5 nm).
The period of 9.6 nm puts the first Bragg peak at 47 deg, next to the Brewster
angle, where p waves are hardly reflected by any interface. At 47 deg, the
multilayer reflects 76 % of s waves, but only 0.02 % of p waves: the reflected
beam is s-polarized.
"""
import bornagain as ba
ba.require_versions("bornagain>=25,<26")
from bornagain import deg, nm
def get_sample():
"""
Thirty periods of molybdenum (3.84 nm) and silicon (5.76 nm) on silicon,
with optical constants at 13.5 nm from the Henke tables.
"""
molybdenum_color = (0.55, 0.55, 0.6)
molybdenum = ba.RefractiveMaterial("Mo", molybdenum_color, 0.0762, 0.00644)
silicon_color = (0.65, 0.75, 0.85)
silicon = ba.RefractiveMaterial("Si", silicon_color, 0.00100, 0.00183)
period = ba.LayerStack(30)
period.addLayer(ba.Layer(molybdenum, 3.84*nm))
period.addLayer(ba.Layer(silicon, 5.76*nm))
sample = ba.Sample()
sample.addLayer(ba.Layer(ba.Vacuum()))
sample.addStack(period)
sample.addLayer(ba.Layer(silicon))
return sample
def simulate(sample, angle, title):
"""
Reflectivity for linear polarization at the given angle from s toward p:
0 for s, 90 deg for p.
"""
n = 1000
scan = ba.AlphaScan(n, 30*deg, 60*deg)
scan.setWavelength(13.5*nm)
scan.setXrayPolarization(angle=angle, axis_ratio=0, degree=1)
simulation = ba.SpecularSimulation(scan, sample)
result = simulation.simulate()
result.setTitle(title)
return result
if __name__ == '__main__':
sample = get_sample()
results = [
simulate(sample, 0, "s"),
simulate(sample, 90*deg, "p"),
]
ba.plot_multicurve(results)
ba.plt.show()
|