Ignore:
Timestamp:
Sep 15, 2011, 2:13:45 PM (13 years ago)
Author:
campagne
Message:

give the status of ON-Off analysis (jec)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BAORadio/AmasNancay/proc_script.sh

    r518 r519  
    205205#for GAIN the reference cycle takes the middle of the run
    206206#
     207#nwinmean donne le nombre de fenetre tspwin utilise pour faire calculer la moyenne des medianes de chaque fenetre
     208#This is the nimber of paquets of the time window which change according to processing type
    207209$ECHO "DEBUG (${scriptName}): START switch on $typeofproc"
    208210#
     
    212214      ingain=""
    213215      freqfilter="-freqfilter -"
     216      nwinmean="1"
    214217      tspwin="5120"
    215218      dirName="Off"
     
    226229      ingain="-gain gain_${dateDAQ}_${srclower}.fits"
    227230      freqfilter="-freqfilter 16"
    228       tspwin="25000"
     231      nwinmean="5"
     232      tspwin="5120"
    229233      dirName="On"
    230234      cyclebasename="datacycle"
     
    239243      ingain="-gain gain_${dateDAQ}_${srclower}.fits"
    240244      freqfilter="-freqfilter 16"
    241       tspwin="25000"
     245      nwinmean="5"
     246      tspwin="5120"
    242247      dirName="Off"
    243248      cyclebasename="datacycle"
     
    252257      ingain="-gain gain_${dateDAQ}_${srclower}.fits"
    253258      freqfilter="-freqfilter 16"
     259      nwinmean="1"
    254260      tspwin="1024"
    255261      dirName="On"
     
    265271      ingain="-gain gain_${dateDAQ}_${srclower}.fits"
    266272      freqfilter="-freqfilter 16"
     273      nwinmean="1"
    267274      tspwin="1024"
    268275      dirName="Off"
     
    351358#force single channel
    352359forceSingle="-singlechan"
    353 #nwinmean donne le nombre de fenetre tspwin utilise pour faire calculer la moyenne des medianes de chaque fenetre
    354 #This is the nimber of paquets of the time window which change according to processing type
    355 nwinmean="1"
    356360#debug
    357361prtlevel="1"
     
    390394# 25sec/signal_file * empirical_conversion_factor (=50)
    391395    cpu=`expr ${nFiles} \* 25 \* 50`
    392 #Virtual Memory (MB)
     396#Virtual Memory (MB) Nb: at CCIN2P3 the reasonable max is 1GB
    393397    virtualmem=1000
    394398#Job and batch names
     
    403407#
    404408    $CAT > ${jobScriptName} <<EOF
    405 #!/bin/sh
     409#!/bin/sh -xvf
    406410#    jobBatchName=$jobBatchName
    407411#    jobScriptName=$jobScriptName
     
    456460    outDir=\${curDir}/${dirName}/${cycle}
    457461    $MKDIR -p \${outDir}
     462
     463#
     464# where ami...
     465#
     466    $ECHO "We are here \`pwd\` to send the batch"
     467    $LS -lrth
     468    $FIND . -name "igetStatus.*" | $XARGS -i  $CAT {}
     469    $LS ./Fiber1 | $WC -l
     470    $LS ./Fiber2 | $WC -l
     471    $LS -lR \${outDir}
     472
    458473#Note: here act=gain means only that specmfib will use median-like algorithms (not only for gains...)
    459474    $prg -act gain $forceSingle $freqfilter  -prt $prtlevel -out \${outDir} -nmean $nwinmean $ingain $tmproc -tspwin ${tspwin},0,0 -in $infiles \${fibfile}
    460475
    461476    $ECHO    \${outDir}
    462     $LS -lrt \${outDir}/*
     477    $LS -lrt \${outDir}
    463478
    464479#save results to Irods (use option -f ONLY to force override)
Note: See TracChangeset for help on using the changeset viewer.