Commit 113a81c6 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

Repair fit56/HoneyComb

parent 7f1d8a02
......@@ -3,7 +3,7 @@
This example demonstrates how to fit a complex experimental setup using BornAgain.
It is based on real data published in https://doi.org/10.1002/advs.201700856
by A. Glavic et al.
In this example we utilize the scalar reflectometry engine to fit polarized
In this example we utilize the scalar reflectometry engine to fit polarized
data without spin-flip for performance reasons.
"""
......@@ -169,12 +169,12 @@ def plot_sld_profile(fitParams, filename):
plt.figure()
parameters = dict(fitParams, **fixedParams)
z_300_p, sld_300_p = ba.MaterialProfile(get_sample(parameters, 1))
z_300_m, sld_300_m = ba.MaterialProfile(get_sample(parameters, -1))
z_300_p, sld_300_p = ba.materialProfile(get_sample(parameters, 1))
z_300_m, sld_300_m = ba.materialProfile(get_sample(parameters, -1))
z_150_p, sld_150_p = ba.MaterialProfile(
z_150_p, sld_150_p = ba.materialProfile(
get_sample(parameters, 1, ms150=parameters["ms150"]))
z_150_m, sld_150_m = ba.MaterialProfile(
z_150_m, sld_150_m = ba.materialProfile(
get_sample(parameters, -1, ms150=parameters["ms150"]))
plt.figure()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment