File: TransmittedModulus.py

package info (click to toggle)
bornagain 23.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 103,936 kB
  • sloc: cpp: 423,131; python: 40,997; javascript: 11,167; awk: 630; sh: 318; ruby: 173; xml: 130; makefile: 51; ansic: 24
file content (13 lines) | stat: -rwxr-xr-x 353 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python3
"""
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.
"""

import bornagain as ba
import Depthprobe1 as dp1

if __name__ == '__main__':
    flags = ba.ZDirection_Transmitted | ba.WaveProperty_Modulus
    dp1.run_example(flags)