Skip to content
Snippets Groups Projects

DepthprobeSimulation can now return intensity, modulus, phase of total,...

Merged Wuttke, Joachim requested to merge DpFlags1 into main
5 files
+ 60
5
Compare changes
  • Side-by-side
  • Inline
Files
5
#!/usr/bin/env python3
"""
Basic example of depth-probe simulation:
Computes intensity as function of incident angle alpha and depth z.
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__':
dp1.run_example(ba.ZDirection_Transmitted | ba.WaveProperty_Modulus)
flags = ba.ZDirection_Transmitted | ba.WaveProperty_Modulus
dp1.run_example(flags)
Loading