Changeset 584 for BAORadio


Ignore:
Timestamp:
Oct 21, 2011, 3:40:27 PM (13 years ago)
Author:
campagne
Message:

correct bug: threshold to detect 1st level of DAB (jec)

Location:
BAORadio/AmasNancay/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • BAORadio/AmasNancay/trunk/anacalibmaker.sh

    r579 r584  
    260260  $RM -f ${tmppublicpath}/getscafiles.finished
    261261  ${scriptpath}/getscafiles.sh ${sourceRadio} ${dateDAQ} > ${OUT1} 2>&1
    262   while [ ! -f "${tmppublicpath}/getscafiles.finished" ]; do
    263       $ECHO "INFO (${scriptName}): waiting for ${tmppublicpath}/getscafiles.finished"
    264       date +%T
    265       sleep 30
    266   done
     262#  while [ ! -f "${tmppublicpath}/getscafiles.finished" ]; do
     263#      $ECHO "INFO (${scriptName}): waiting for ${tmppublicpath}/getscafiles.finished"
     264#      date +%T
     265#      sleep 30
     266#  done
    267267  $RM ${tmppublicpath}/getscafiles.finished
    268268  $ECHO "DEBUG (${scriptName}): END"
     
    288288  $ECHO "DEBUG (${scriptName}): execute the analysis... should not take long. `date`"
    289289  if [ ${simulationMode} = "On" ]; then
    290       $ECHO "SIMUL: ${scriptpath}/Objs/analyse -act calib -inPath ${iojobpath}  -source  ${sourceRadio} -date ${dateDAQ} -sca ${scaFile} -specdir calibcycle -numcycle ${firstCycle},${lastCycle} -calibopt mean  -debuglev 1 -freqBAOCalib ${freqBAOCalib} -bwBAOCalib ${bwBAOCalib} >& ${logFile}"
     290      $ECHO "SIMUL: ${scriptpath}/Objs/analyse -act calib -inPath ${iojobpath}  -source  ${sourceRadio} -date ${dateDAQ} -sca ${scaFile} -specdir calibcycle -numcycle ${firstCycle},${lastCycle} -calibopt mean  -debug 1 -freqBAOCalib ${freqBAOCalib} -bwBAOCalib ${bwBAOCalib} >& ${logFile}"
    291291      cat > ${logFile} <<EOF
    292292      Ok calibration finished
     
    294294#WARNING: the EOF must start at 1st column overwise the rest of the script is part of the file cat...
    295295  else
    296       ${scriptpath}/Objs/analyse -act calib -inPath ${iojobpath}  -source  ${sourceRadio} -date ${dateDAQ} -sca ${scaFile} -specdir calibcycle  -numcycle ${firstCycle},${lastCycle} -calibopt mean  -debug 1 -freqBAOCalib ${freqBAOCalib} -bwBAOCalib ${bwBAOCalib} >& ${logFile}
     296      ${scriptpath}/Objs/analyse -act calib -inPath ${iojobpath}  -source  ${sourceRadio} -date ${dateDAQ} -sca ${scaFile} -specdir calibcycle  -numcycle ${firstCycle},${lastCycle} -calibopt mean  -debug 10 -freqBAOCalib ${freqBAOCalib} -bwBAOCalib ${bwBAOCalib} >& ${logFile}
    297297  fi
    298298#
     
    317317  else
    318318      $LS -lrth
    319       $FIND . -name "calib_*" -print | $XARGS -i  iput -f  -v -K {} ${i}
     319#      $FIND . -name "calib_*" -print | $XARGS -i  iput -f  -v -K {} ${i}
     320      $FIND . -name "calib_*" -print | $XARGS -i  cp {} /sps/baoradio/AmasNancay/JEC/tmp
    320321  fi
    321322#save analysis logfile
  • BAORadio/AmasNancay/trunk/analyse.cc

    r556 r584  
    321321  int ka=1;
    322322  while (ka<(narg-1)) {
     323    cout << "Debug arglist: <" << arg[ka] <<">" << endl;
    323324    if (strcmp(arg[ka],"-debug")==0) {
    324325      debuglev=arg[ka+1];
     
    14461447  const r_4 twin2 =  6.;
    14471448  const r_4 twin3 =  8;
    1448   const r_4 thresholdFactor = 0.80; //80% of the diff. Max-Min intensity
     1449  const r_4 thresholdFactor = 0.20; //80% of the diff. Max-Min intensity
    14491450
    14501451  sa_size_t inModeIdx = powerEvolution.ColumnIndex("mode");
  • BAORadio/AmasNancay/trunk/submit2bqs-anacalibmaker.sh

    r576 r584  
    3737
    3838
    39 jobBatchName="anacalibs-${sourceRadio}${dateJob}"
     39jobBatchName="anacalibs-${sourceRadio}${dateJob}-test"
    4040
    4141jobLogName="${jobBatchName}.log.$$"
Note: See TracChangeset for help on using the changeset viewer.