Go to the source code of this file.
Definition at line 19 of file qlib.sh.
24 echo -
n "$*;" >> $queue_name
Definition at line 34 of file qlib.sh.
39 echo "$*" >> $queue_name
Definition at line 50 of file qlib.sh.
56 if [[ -e $queue_name ]];
then
58 if [[ -p $queue_name ]];
then
59 fatal
"Queue $queue_name in use."
63 mkfifo $queue_name # create
a new FIFO
66 fd=7 #
file descriptor
68 eval
"exec $fd<>$queue_name" # attach
file descriptor to
FIFO
70 while read job <& $fd;
do #
read job from
file descriptor
72 if [[ -
n $job ]];
then
74 if [[ $job =
"exit" ]];
then
79 eval exec $job & # submit job
83 while (( ${#jobstates} >= $queue_size ));
do
std::istream & read(std::istream &in, JTestSummary &summary, const char delimiter= ' ')
Read test summary.
set_variable NUMBER_OF_ITERATIONS set_variable EPSILON cat acoustics_fit_parameters txt<< EOF $CONFIGURATION[*]Nmin=3;sigma_s=100.0e-6;stdev=10.0;mestimator=0;fixStrings=0;EOF for STRING in $STRINGS[*];do#fit stretching and(z) position of given string set_variable DETECTOR_TMP/tmp/detector_A.datx JEditDetector-a $DETECTOR-o $DETECTOR_TMP-r $STRING JEditDetector-a $DETECTOR-o $DETECTOR-k $STRING for MUL in 0.005 0.001;do DX_M=0.2 for((N=0;$N< $NUMBER_OF_ITERATIONS;++N));do CHI2[3]=$CHI2[1] fitPositionOfString $STRING Z $DX_M fitStretchingOfString $STRING $MUL if(($CHI2[3]-$CHI2[1]< $EPSILON));then break fi done if(($N >=$NUMBER_OF_ITERATIONS));then printf"warning: reached maximum number of iterations %d - converenge %7.3f\n"$N $(($CHI2[3]-$CHI2[1])) fi done JMergeDetector-a $DETECTOR-a $DETECTOR_TMP-o $DETECTOR rm-f $DETECTOR_TMP JConvertDetectorFormat-a $DETECTOR-o $DETECTOR-r-d 0 > &dev null done
then usage $script< string identifier >< detectorfile > event file(toashort file)+" "\nNote that the event files and toashort files should be one-to-one related." fi if (( $