Differences between revisions 4 and 5
Revision 4 as of 2019-03-29 15:21:20
Size: 3010
Comment:
Revision 5 as of 2019-06-18 00:31:23
Size: 3936
Comment:
Deletions are marked like this. Additions are marked like this.
Line 68: Line 68:
@@ -1009,7 +1013,8 @@ if (htmlFilename != None):
     htmlFID.write(' Spectrogram data: <a href="' + thisSeg + '">' + thisSeg + '</a><br>')
     htmlFID.write(' Freq. vs Power: <a href="' + thisSeg + '.txt">' + thisSeg + '.txt</a><br>')
     htmlFID.write(' Freq. vs Power (Sorted): <a href="' + thisSeg + '_sorted.txt">' + thisSeg + '_sorted.txt</a><br>')
- htmlFID.write(' List of found combs : <a href="%s_combs.txt">%s_combs.txt</a><br>\n' % (inputFileName,inputFileName))
+ htmlFID.write(' List of found combs : <a href="' + thisSeg + '_combs.txt">' + thisSeg + '_combs.txt</a><br>')
+ #htmlFID.write(' List of found combs : <a href="%s_combs.txt">%s_combs.txt</a><br>\n' % (inputFileName,inputFileName))
     #htmlFID.write(' Kurtosis test output: <a href="' + thisSeg + '_kurtosis">' + thisSeg + '_kurtosis</a><br>')
     htmlFID.write(' </td>\n')
     htmlFID.write('</tr>\n')

Fscan

Installation

Installation of LALSuite

apt-get install lscsoft-lalsuite

LALSuite

Installation of Fscan

  1. Download Fscan code from GitHub

  2. Copy to /home/controls/public_html

How to use

  • Move to Fscan directory(/home/controls/opt/Fscan)

  • Before using Fscan, we must set the environmental variables by
    source /users/DET/tools/Fscan/etc/environment.sh
  • Fscan job is submitted to Condor when the following command line is executed
    ./testmultiFscanGenerator.tcl testKagraDailyFscanGenerator.rsc /home/controls/opt/Fscan/test_segments.txt -R

    Results are exported to the "~/public_html/fscan/daily" directory

Setting

Code Modification for KAGRA

  • multiFscanGenerator.tcl
    --- multiFscanGenerator.tcl       2019-03-27 14:58:01.287737201 +0900
    +++ multiFscanGenerator_kagra.tcl 2019-03-27 16:54:47.367739644 +0900
    @@ -292,7 +292,8 @@ set moveSFTsFromSuffix "";
     
     set crab 0; #if crab stuff is to be run then rsc file sets crab to 1, default is not to run.X
     
    -set submitLogFileDir "/usr1/pulsar"; # directory location for log files given in the condor submit files, for use with fscanDriver.py -o option.
    +set submitLogFileDir "/home/controls/opt/Fscan/logs"; # directory location for log files given in the condor submit files, for use with fscanDriver.py -o option.
     
     
     ##### MAIN CODE STARTS HERE #####
  • fscanDriver.py
    --- fscanDriver.py       2019-03-27 14:58:01.287737201 +0900
    +++ fscanDriver_kagra.py 2019-03-29 14:15:32.386858803 +0900
    @@ -602,7 +602,11 @@ if (createSFTs):
          sft_freqBand = 2
       else:
          sft_freqBand = freqBand + 1;
    -  makeDAGCommand = 'MakeSFTDAG -f %s -G %s -d %s -x %d -k %d -T %d -F %d -B %d -p %s -N %s -m 1 -o %s -X %s -Z -g %s -v %d -w %d' % (sftDAGFile,tagString,inputDataType,extraDatafindTime,filterKneeFreq,timeBaseline,startFreq,sft_freqBand,pathToSFTs,channelName,subLogPath,miscDesc,segmentFile,sftVersion,windowType)
    +  if ifo == 'K1':
    +    makeDAGCommand = os.environ['KAGRA_FSCANBIN_PATH']+'/lalapps_MakeSFTDAG_kagra -f %s -G %s -d %s -x %d -k %d -T %d -F %d -B %d -p %s -N %s -m 1 -o %s -X %s -Z -g %s -v %d -w %d' % (sftDAGFile,tagString,inputDataType,extraDatafindTime,filterKneeFreq,timeBaseline,startFreq,sft_freqBand,pathToSFTs,channelName,subLogPath,miscDesc,segmentFile,sftVersion,windowType)
    +  else:
    +    makeDAGCommand = 'MakeSFTDAG -f %s -G %s -d %s -x %d -k %d -T %d -F %d -B %d -p %s -N %s -m 1 -o %s -X %s -Z -g %s -v %d -w %d' % (sftDAGFile,tagString,inputDataType,extraDatafindTime,filterKneeFreq,timeBaseline,startFreq,sft_freqBand,pathToSFTs,channelName,subLogPath,miscDesc,segmentFile,sftVersion,windowType)
    +
       if (useHoT):
          makeDAGCommand = makeDAGCommand + ' -H'
       if (makeSFTIFO != None):
    @@ -1009,7 +1013,8 @@ if (htmlFilename != None):
         htmlFID.write('    Spectrogram data: <a href="' + thisSeg + '">' + thisSeg + '</a><br>')
         htmlFID.write('    Freq. vs Power: <a href="' + thisSeg + '.txt">' + thisSeg + '.txt</a><br>')
         htmlFID.write('    Freq. vs Power (Sorted): <a href="' + thisSeg + '_sorted.txt">' + thisSeg + '_sorted.txt</a><br>')
    -    htmlFID.write('    List of found combs : <a href="%s_combs.txt">%s_combs.txt</a><br>\n' % (inputFileName,inputFileName))
    +    htmlFID.write('    List of found combs : <a href="' + thisSeg + '_combs.txt">' + thisSeg + '_combs.txt</a><br>')
    +    #htmlFID.write('    List of found combs : <a href="%s_combs.txt">%s_combs.txt</a><br>\n' % (inputFileName,inputFileName))
         #htmlFID.write('    Kurtosis test output: <a href="' + thisSeg + '_kurtosis">' + thisSeg + '_kurtosis</a><br>')
         htmlFID.write('  </td>\n')
         htmlFID.write('</tr>\n')

KAGRA/Subgroups/DET/Fscan (last edited 2019-12-12 08:55:19 by shoichi.oshino)