8 # ------------------------------------------------------------------------------------------
10 # Utility script to create histogram of particle light pattern
12 # ------------------------------------------------------------------------------------------
16 while getopts
f:h option
24 echo "Please pass data file."
28 if [ -z $JPP_DIR ];
then
29 echo "Variable JPP_DIR undefined."
34 PARTICLES_RE=
"J[-_[:digit:]]*?s"
42 source $JPP_DIR/setenv.sh $JPP_DIR
o $QUALITY_ROOT d $DEBUG!JPlot1D f
then fatal Wrong number of arguments fi JConvertDetectorFormat a o
then JFileTuna f $INPUT_FILE
&set_variable OUTPUT_FILE
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in