Jpp 19.3.0-rc.1
the software that should make you happy
Loading...
Searching...
No Matches
JAcousticsEventMonitor.sh
Go to the documentation of this file.
1#!/usr/bin/env zsh
2script=${0##*/}
3
4if [ -z $JPP_DIR ]; then
5 echo "Variable JPP_DIR undefined."
6 exit
7fi
8
9source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/null
10
11set_variable DEADTIME_S 100e-3
12set_variable WAVEFORM_S 5.0e-3
13set_variable: DEBUG ACOUSTICS_DEBUG 2
14set_variable: WORKDIR ACOUSTICS_WORKDIR ./
15set_variable: FORMAT GRAPHICS_FORMAT gif
16set_variable+ BATCH GRAPHICS_BATCH -B
17
18if do_usage $*; then
19 usage "$script (input file)+"\
20 "\nInput files correspond to the output of JAcousticsEventBuilder[.sh]."
21fi
22
23if (( $# == 0 )); then
24 fatal "Wrong number of arguments."
25fi
26
27set_array INPUT_FILES $argv[1,-1]
28
29$JPP_DIR/examples/JAcoustics/JAcousticsEventMonitor \
30 -f${^INPUT_FILES} \
31 -D $DEADTIME_S \
32 -p $WAVEFORM_S \
33 -d $DEBUG