Commit d947fdca authored by Carl-Johan Haster's avatar Carl-Johan Haster

change default LALInference flow from 40 to 20 Hz

Original: 03d0047c832cf4c7858c4685ea4802c82e03ff39
parent 143ba60d
......@@ -192,8 +192,8 @@ channels={'H1':'H1:LDAS-STRAIN','L1':'L1:LDAS-STRAIN','V1':'V1:h_16384Hz'}
#fake-cache={'H1':'LALSimAdLIGO','L1':'LALSimAdLIGO','V1':'LALSimAdVirgo'}
# fLow can be used to specify the low frequency cutoff for each detector
# Default is 40 Hz
# flow = {'H1':40,'L1':40,'V1':40}
# Default is 20 Hz
# flow = {'H1':20,'L1':20,'V1':20}
#####################################################################################
[engine]
......
......@@ -75,7 +75,7 @@ class Event():
dummyCacheNames=['LALLIGO','LALVirgo','LALAdLIGO','LALAdVirgo']
def readLValert(threshold_snr=None,gid=None,flow=40.0,gracedb="gracedb",basepath="./",downloadpsd=True,roq=False):
def readLValert(threshold_snr=None,gid=None,flow=20.0,gracedb="gracedb",basepath="./",downloadpsd=True,roq=False):
"""
Parse LV alert file, containing coinc, sngl, coinc_event_map.
and create a list of Events as input for pipeline
......@@ -963,7 +963,7 @@ class LALInferencePipelineDAG(pipeline.CondorDAG):
# LVAlert CoincInspiral Table
if self.config.has_option('input','gid'):
gid=self.config.get('input','gid')
flow=40.0
flow=20.0
if self.config.has_option('lalinference','flow'):
flow=min(ast.literal_eval(self.config.get('lalinference','flow')).values())
downloadgracedbpsd=True
......@@ -1372,7 +1372,7 @@ class LALInferencePipelineDAG(pipeline.CondorDAG):
node.psds=get_xml_psds(psdpath,ifos,os.path.join(self.basepath,'PSDs'),end_time=None)
prenode.psds=get_xml_psds(psdpath,ifos,os.path.join(self.basepath,'PSDs'),end_time=None)
for ifo in ifos:
prenode.flows[ifo]=str(40.0)
prenode.flows[ifo]=str(20.0)
if self.config.has_option('lalinference','flow'):
node.flows=ast.literal_eval(self.config.get('lalinference','flow'))
prenode.flows=ast.literal_eval(self.config.get('lalinference','flow'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment