diff options
author | Thomas White <taw@physics.org> | 2023-12-19 11:58:13 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2024-02-06 16:59:34 +0100 |
commit | 1d9460ed7876112aa229cff5fc4062402f78c169 (patch) | |
tree | 2e4c8640b80df21f976c873e8836bc6cde81b262 | |
parent | 90132628f5f66836aebfd3c7c7daf583f5bf5d86 (diff) |
Reduce number of simulation runs and add some output
-rw-r--r-- | julia/alignment-test.jl | 6 |
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) |