tmplt_job = inspiral.TmpltBankJob(cp) # Based on S6A results ttrigscan clustering has # been replaced with 30-ms window clustering # ts_job = TrigscanJob(cp) si_job_coarse = SiClusterJobCoarse(cp) si_job_fine = SiClusterJobFine(cp) cp_job = FilesystemJob('cp') # Add ifo-specific template config if cp.has_section(ifo.lower() + '-tmpltbank'): tmplt_job.add_ini_opts(cp, ifo.lower() + '-tmpltbank') # Create a job to split the template into parallelization pieces split_job = inspiral.SplitBankJob(cp) # and one to run the inspirals if doCohPTF: insp_job = inspiral.PTFInspiralJob(cp) else: insp_job = inspiral.InspiralJob(cp) # template and inspiral jobs also need to know about the data if ifo == 'V1': channel_name = 'virgo-channel' data_name = 'virgo-data' type_name = 'virgo-type' else: channel_name = 'ligo-channel' data_name = 'ligo-data'
spincheck_job.add_opt( ifo1.lower() + '-channel-name', ifo1.upper() + ':' + cp.get('input', 'virgo-channel')) if cp.get('input', 'virgo-type').startswith('T1300121'): spincheck_job.add_opt( ifo1.lower() + '-frame-cache', 'cache/' + ifo1[0] + '-' + ifo1 + '_' + cp.get('input', 'virgo-type') + '_CACHE-' + gps_times + '.lcf') else: spincheck_job.add_opt( ifo1.lower() + '-frame-cache', 'cache/' + ifo1[0] + '-' + cp.get('input', 'virgo-type') + '_CACHE-' + gps_times + '.lcf') #splitbank split_job = inspiral.SplitBankJob(cp, opts.dax) if opts.splitbank: if cp.has_option('splitbank-meta', 'bank-file'): splitBankFile = cp.get('splitbank-meta', 'bank-file') else: splitBankFile = None splitNumBanks = int(cp.get('splitbank-meta', 'num-banks')) if doExtTrig: try: splitNumBanks = int(cp.get('splitbank-injmeta', 'num-banks')) except: pass else: splitBankFile = None splitNumBanks = None