aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/wibbletron19
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/wibbletron b/scripts/wibbletron
new file mode 100755
index 00000000..035b4a2c
--- /dev/null
+++ b/scripts/wibbletron
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+for FILENAME in `cat $1`; do
+
+ echo $FILENAME | indexamajig --indexing=dirax \
+ --near-bragg \
+ --filter-noise \
+ > indexed.lst
+
+ if [ -s indexed.lst ]; then
+ #hdfsee simulated.h5 &
+ ~/crystfel/src/hdfsee $FILENAME --binning=1 \
+ --int-boost=8 --filter-noise \
+ --peak-overlay=indexed.lst
+ fi
+
+ rm -f indexed.lst
+
+done