Skip to content
Snippets Groups Projects
Commit ceefadf1 authored by Van Herck, Walter's avatar Van Herck, Walter
Browse files

Fix rename in Python example

parent 60c53785
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ def get_simulation(): ...@@ -41,7 +41,7 @@ def get_simulation():
simulation.setBeamParameters(1.0*angstrom, 0.2*deg, 0.0*deg) simulation.setBeamParameters(1.0*angstrom, 0.2*deg, 0.0*deg)
simulation.setBeamIntensity(1e6) simulation.setBeamIntensity(1e6)
bg = ba.ConstantBackground(1e3) bg = ba.ConstantBackground(1e3)
simulation.setBackGround(bg) simulation.setBackground(bg)
return simulation return simulation
......
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