Commit b59d542d authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

Repair fit53, 54

parent f67b34e6
...@@ -53,7 +53,7 @@ def get_sample(params): ...@@ -53,7 +53,7 @@ def get_sample(params):
particle_layout.addParticle(sphere) particle_layout.addParticle(sphere)
interference = ba.InterferenceFunction2DLattice( interference = ba.InterferenceFunction2DLattice(
ba.HexagonalLattice2D(lattice_length)) ba.HexagonalLattice2D(lattice_length, 0))
pdf = ba.FTDecayFunction2DCauchy(10*nm, 10*nm, 0) pdf = ba.FTDecayFunction2DCauchy(10*nm, 10*nm, 0)
interference.setDecayFunction(pdf) interference.setDecayFunction(pdf)
......
...@@ -27,7 +27,7 @@ def get_sample(params): ...@@ -27,7 +27,7 @@ def get_sample(params):
particle_layout.addParticle(sphere) particle_layout.addParticle(sphere)
interference = ba.InterferenceFunction2DLattice( interference = ba.InterferenceFunction2DLattice(
ba.HexagonalLattice2D(lattice_length)) ba.HexagonalLattice2D(lattice_length, 0))
pdf = ba.FTDecayFunction2DCauchy(10*nm, 10*nm, 0) pdf = ba.FTDecayFunction2DCauchy(10*nm, 10*nm, 0)
interference.setDecayFunction(pdf) interference.setDecayFunction(pdf)
......
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