Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Merge requests
!1553
DepthprobeSimulation can now return intensity, modulus, phase of total,...
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
DepthprobeSimulation can now return intensity, modulus, phase of total,...
DpFlags1
into
main
Overview
0
Commits
3
Pipelines
1
Changes
5
Merged
Wuttke, Joachim
requested to merge
DpFlags1
into
main
2 years ago
Overview
0
Commits
3
Pipelines
1
Changes
5
Expand
DepthprobeSimulation can now return intensity, modulus, phase of total, reflected, transmitted field
0
0
Merge request reports
Viewing commit
02c3e56d
Prev
Next
Show latest version
5 files
+
60
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
02c3e56d
document transmitted modulus example
· 02c3e56d
Wuttke, Joachim
authored
2 years ago
Examples/varia/TransmittedModulus.py
+
5
−
3
Options
#!/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