Skip to content
Snippets Groups Projects
Unverified Commit fac002f4 authored by Yurov, Dmitry's avatar Yurov, Dmitry Committed by GitHub
Browse files

Merge pull request #868 from juanmcloaiza/release-1.16.0

Fixed FootprintCorrection.py example / Updated CHANGELOG
parents 29666078 e1f55aae
Branches
Tags
No related merge requests found
......@@ -26,6 +26,7 @@ BornAgain-1.16.0, released 2019.07.31
* Bug #2371: Ctrl+S doesn't work for saving project on win
* Bug #2379: Layer of zero thickness affects SLD profile
* Bug #2382: Memory leakage during Python fitting
* Bug #2388: Footprint Correction example failing due to newly introduced accessor methods
* Feature #1861: Provide evaluation of SLD profile across the sample layers
* Feature #2047: Fix compilation failures if fftw3, libtiff or Python are static.
* Feature #2285: Name layers in GUI by their material name
......@@ -43,6 +44,7 @@ BornAgain-1.16.0, released 2019.07.31
* Documentation #2283: Fix starting value of prism_base_edge in fit example
* Documentation #2308: Fix Windows PyCharm tutorial
* Documentation #2325: Proofread Windows installation tutorials
* Documentation #2381: Examples present on the website and missing on the BA repo
* Refactoring #2361: Use **kwargs in python plotting routines
* Testing #2210: Test 1d data import on known file formats
* Testing #2287: Reflectometry cross-validation
......
......@@ -58,10 +58,7 @@ def run_simulation(simulation):
def get_plot_data(sim_result):
data = sim_result.data()
intensity = data.getArray()
x_axis = data.getAxis(0).getBinCenters()
return x_axis, intensity
return sim_result.axis(), sim_result.array()
def plot(sim_result_1, sim_result_2):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment