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
Commits
fac002f4
Unverified
Commit
fac002f4
authored
5 years ago
by
Yurov, Dmitry
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request
#868
from juanmcloaiza/release-1.16.0
Fixed FootprintCorrection.py example / Updated CHANGELOG
parents
29666078
e1f55aae
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG
+2
-0
2 additions, 0 deletions
CHANGELOG
Examples/python/simulation/ex06_Reflectometry/FootprintCorrection.py
+1
-4
1 addition, 4 deletions
...thon/simulation/ex06_Reflectometry/FootprintCorrection.py
with
3 additions
and
4 deletions
CHANGELOG
+
2
−
0
View file @
fac002f4
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Examples/python/simulation/ex06_Reflectometry/FootprintCorrection.py
+
1
−
4
View file @
fac002f4
...
...
@@ -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
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment