aboutsummaryrefslogtreecommitdiff
path: root/julia
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2024-01-16 16:48:12 +0100
committerThomas White <taw@physics.org>2024-02-06 16:59:35 +0100
commitdd6aed228f47eb6bfc713b20e635e2bacfe1a6f9 (patch)
tree0ea638f1d79374cf03b0f407219e39fa4e328d3e /julia
parente92d7d9a24f96549f5fb832efcb9e0f832d28beb (diff)
Update alignment-test.jl
Diffstat (limited to 'julia')
-rw-r--r--julia/alignment-test.jl2
1 files changed, 2 insertions, 0 deletions
diff --git a/julia/alignment-test.jl b/julia/alignment-test.jl
index 9a7a7202..ead812c3 100644
--- a/julia/alignment-test.jl
+++ b/julia/alignment-test.jl
@@ -1,6 +1,7 @@
using CrystFEL
using Random
using Plots
+using MillepedeII
# "Simulate" a diffraction pattern from the reflections
function sketch_pattern(image, cr)
@@ -54,6 +55,7 @@ end
function plotresiduals(filename)
+ t = loadmille(filename)
l = @layout([q0 q1; q2 q3])
a = collect(Iterators.flatten(t))