3 # Leave this script in place.
5 # Run PDSP sig+noise sim + sigproc + imaging using one or more input
6 # depo files in Bee JSON format.
8 # Example JSON files provided:
10 # $ unzip sio/test/test_beedeposource.zip
13 # Then run this script like:
15 # $ ./img/test/test-pdsp-6apas-bee.sh data/?/?-truthDepo.json
17 # or for just one "event":
19 # $ ./img/test/test-pdsp-6apas-bee.sh data/0/0-truthDepo.json
21 cfgfile="${BASH_SOURCE/.sh/.jsonnet}"
22 if [ ! -f "$cfgfile" ] ; then
23 echo "expect to find $cfgfile"
28 echo "Need at least one input depo file"
31 depofiles=$(for n in $@; do echo -n '"'$n'"',; done)
34 wire-cell -L debug -l stdout -C "depofiles=["$depofiles"]" -c $cfgfile