aboutsummaryrefslogtreecommitdiff
path: root/scripts/wibbletron
blob: 035b4a2c1020847f925a5db34a4ecf8441e90959 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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