aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-10-19 15:08:57 +0200
committerThomas White <taw@physics.org>2017-10-19 15:08:57 +0200
commit8a93f86a6c2e2e43e6a9864fd8d5f31cc26a5011 (patch)
tree8da7ec9cca8184301ad51e69402a6c7453802f13 /scripts
parent64fbb02bf49d1c5a8777913bf1bb063f13819807 (diff)
peakogram-stream: Fix list indices for beta and gamma angles
Whoops!
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/peakogram-stream4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/peakogram-stream b/scripts/peakogram-stream
index 5e173386..a17670ce 100755
--- a/scripts/peakogram-stream
+++ b/scripts/peakogram-stream
@@ -47,8 +47,8 @@ def resolution(scell, shkl):
c = float(scell[2])*10.0 # nm -> Angstroms
al = m.radians(float(scell[3]))
- be = m.radians(float(scell[3]))
- ga = m.radians(float(scell[3])) # in degrees
+ be = m.radians(float(scell[4]))
+ ga = m.radians(float(scell[5])) # in degrees
h = int(shkl[0])
k = int(shkl[1])