aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2023-12-19 11:58:13 +0100
committerThomas White <taw@physics.org>2024-02-06 16:59:34 +0100
commit1d9460ed7876112aa229cff5fc4062402f78c169 (patch)
tree2e4c8640b80df21f976c873e8836bc6cde81b262
parent90132628f5f66836aebfd3c7c7daf583f5bf5d86 (diff)
Reduce number of simulation runs and add some output
-rw-r--r--julia/alignment-test.jl6
1 files changed, 5 insertions, 1 deletions
diff --git a/julia/alignment-test.jl b/julia/alignment-test.jl
index 3948c6fb..aecd3435 100644
--- a/julia/alignment-test.jl
+++ b/julia/alignment-test.jl
@@ -29,7 +29,11 @@ function simulate_and_index(cell, image_true, dtempl_moved, mille, n)
image_moved.peaklist = peaklist
index(image_moved, indexer, mille=mille)
+ print(".")
+
end
+ println("")
+
end
@@ -38,4 +42,4 @@ image_true = Image(dtempl_true)
cell = UnitCell(MonoclinicLattice, PrimitiveCell, 123, 45, 80, 90, 97, 90)
dtempl_moved = loaddatatemplate("julia/alignment-test-moved.geom")
mille = Mille("mille.dat")
-simulate_and_index(cell, image_true, dtempl_moved, mille, 100)
+simulate_and_index(cell, image_true, dtempl_moved, mille, 10)