diff options
author | Thomas White <taw@physics.org> | 2010-03-20 16:58:04 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-03-20 16:58:04 +0100 |
commit | 5abe14d1e4c3287df71bb5c13fe3c6846aec017b (patch) | |
tree | 5f3d88259fc574e4dc8306b6c178d52c6fad2837 /scripts | |
parent | 7ebb166b41aea5931e5817fab0c98a31944b5423 (diff) |
Add scripts/wibbletron
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/wibbletron | 19 |
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 |