Modulus of the amplitude of the partial wave field propagating in
transmission direction,
as function of depth and incident angle $\alpha_i$.
Same sample as in the basic example depthprobe1,
a thin film on a substrate.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env python3# /// script# requires-python = ">=3.10"# dependencies = ["bornagain>=25,<26"]# ///"""
Thin-film sample as in basic depth-probe example.
Computes modulus of amplitude of transmitted field
as function of of incident angle alpha and depth z.
"""importbornagainasbaba.require_versions("bornagain>=25,<26")importDepthprobe1asdp1if__name__=='__main__':flags=ba.ZDirection_Transmitted|ba.WaveProperty_Modulusdp1.run_example(flags)