Skip to content
Snippets Groups Projects
Commit 319bced9 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

Py examples rm 'angstrom'

parent b68310e2
No related branches found
No related tags found
1 merge request!2578cleanup in Scan context
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Functional test: Magnetic cylinders in DWBA with zero magnetic field Functional test: Magnetic cylinders in DWBA with zero magnetic field
""" """
import bornagain as ba import bornagain as ba
from bornagain import angstrom, ba_plot as bp, deg, R3, nm from bornagain import ba_plot as bp, deg, R3, nm
def get_sample(): def get_sample():
......
...@@ -4,7 +4,7 @@ Basic example of depth-probe simulation: ...@@ -4,7 +4,7 @@ Basic example of depth-probe simulation:
Computes intensity as function of incident angle alpha and depth z. Computes intensity as function of incident angle alpha and depth z.
""" """
import bornagain as ba import bornagain as ba
from bornagain import angstrom, ba_plot as bp, deg, nm from bornagain import ba_plot as bp, deg, nm
def get_sample(): def get_sample():
# Materials # Materials
......
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
Depth profile of an opaque sample. Depth profile of an opaque sample.
""" """
import bornagain as ba import bornagain as ba
from bornagain import angstrom, ba_plot as bp, deg, nm from bornagain import ba_plot as bp, deg, nm
# beam data # beam data
ai_min = 0 # minimum incident angle ai_min = 0 # minimum incident angle
ai_max = 1*deg # maximum incident angle ai_max = 1*deg # maximum incident angle
wl = 0.03*nm # wavelength in angstroms wl = 0.03*nm # wavelength
# depth position span # depth position span
z_min = -400*nm z_min = -400*nm
......
...@@ -19,7 +19,7 @@ t_TiO2 = 30*angstrom ...@@ -19,7 +19,7 @@ t_TiO2 = 30*angstrom
# beam data # beam data
ai_min = 0 # minimum incident angle ai_min = 0 # minimum incident angle
ai_max = 1*deg # maximum incident angle ai_max = 1*deg # maximum incident angle
wl = 10*angstrom # wavelength in angstroms wl = 10*angstrom # wavelength
# convolution parameters # convolution parameters
d_ang = 0.01*ba.deg # spread width for incident angle d_ang = 0.01*ba.deg # spread width for incident angle
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Functional test: Magnetic cylinders in DWBA with zero magnetic field Functional test: Magnetic cylinders in DWBA with zero magnetic field
""" """
import bornagain as ba import bornagain as ba
from bornagain import angstrom, ba_plot as bp, deg, R3, nm from bornagain import ba_plot as bp, deg, R3, nm
def get_sample(): def get_sample():
......
...@@ -4,7 +4,7 @@ Basic example of depth-probe simulation: ...@@ -4,7 +4,7 @@ Basic example of depth-probe simulation:
Computes intensity as function of incident angle alpha and depth z. Computes intensity as function of incident angle alpha and depth z.
""" """
import bornagain as ba import bornagain as ba
from bornagain import angstrom, ba_plot as bp, deg, nm from bornagain import ba_plot as bp, deg, nm
def get_sample(): def get_sample():
# Materials # Materials
......
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
Depth profile of an opaque sample. Depth profile of an opaque sample.
""" """
import bornagain as ba import bornagain as ba
from bornagain import angstrom, ba_plot as bp, deg, nm from bornagain import ba_plot as bp, deg, nm
# beam data # beam data
ai_min = 0 # minimum incident angle ai_min = 0 # minimum incident angle
ai_max = 1*deg # maximum incident angle ai_max = 1*deg # maximum incident angle
wl = 0.03*nm # wavelength in angstroms wl = 0.03*nm # wavelength
# depth position span # depth position span
z_min = -400*nm z_min = -400*nm
......
...@@ -19,7 +19,7 @@ t_TiO2 = 30*angstrom ...@@ -19,7 +19,7 @@ t_TiO2 = 30*angstrom
# beam data # beam data
ai_min = 0 # minimum incident angle ai_min = 0 # minimum incident angle
ai_max = 1*deg # maximum incident angle ai_max = 1*deg # maximum incident angle
wl = 10*angstrom # wavelength in angstroms wl = 10*angstrom # wavelength
# convolution parameters # convolution parameters
d_ang = 0.01*ba.deg # spread width for incident angle d_ang = 0.01*ba.deg # spread width for incident angle
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Functional test: Magnetic cylinders in DWBA with zero magnetic field Functional test: Magnetic cylinders in DWBA with zero magnetic field
""" """
import bornagain as ba import bornagain as ba
from bornagain import angstrom, ba_plot as bp, deg, R3, nm from bornagain import ba_plot as bp, deg, R3, nm
def get_sample(): def get_sample():
......
...@@ -4,7 +4,7 @@ Basic example of depth-probe simulation: ...@@ -4,7 +4,7 @@ Basic example of depth-probe simulation:
Computes intensity as function of incident angle alpha and depth z. Computes intensity as function of incident angle alpha and depth z.
""" """
import bornagain as ba import bornagain as ba
from bornagain import angstrom, ba_plot as bp, deg, nm from bornagain import ba_plot as bp, deg, nm
def get_sample(): def get_sample():
# Materials # Materials
......
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
Depth profile of an opaque sample. Depth profile of an opaque sample.
""" """
import bornagain as ba import bornagain as ba
from bornagain import angstrom, ba_plot as bp, deg, nm from bornagain import ba_plot as bp, deg, nm
# beam data # beam data
ai_min = 0 # minimum incident angle ai_min = 0 # minimum incident angle
ai_max = 1*deg # maximum incident angle ai_max = 1*deg # maximum incident angle
wl = 0.03*nm # wavelength in angstroms wl = 0.03*nm # wavelength
# depth position span # depth position span
z_min = -400*nm z_min = -400*nm
......
...@@ -19,7 +19,7 @@ t_TiO2 = 30*angstrom ...@@ -19,7 +19,7 @@ t_TiO2 = 30*angstrom
# beam data # beam data
ai_min = 0 # minimum incident angle ai_min = 0 # minimum incident angle
ai_max = 1*deg # maximum incident angle ai_max = 1*deg # maximum incident angle
wl = 10*angstrom # wavelength in angstroms wl = 10*angstrom # wavelength
# convolution parameters # convolution parameters
d_ang = 0.01*ba.deg # spread width for incident angle d_ang = 0.01*ba.deg # spread width for incident angle
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment