Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lscsoft
lalsuite
Commits
d947fdca
Commit
d947fdca
authored
Feb 09, 2017
by
Carl-Johan Haster
Browse files
change default LALInference flow from 40 to 20 Hz
Original: 03d0047c832cf4c7858c4685ea4802c82e03ff39
parent
143ba60d
Changes
2
Hide whitespace changes
Inline
Side-by-side
lalapps/src/inspiral/posterior/lalinference_pipe_example.ini
View file @
d947fdca
...
...
@@ -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
4
0 Hz
# flow = {'H1':
4
0,'L1':
4
0,'V1':
4
0}
# Default is
2
0 Hz
# flow = {'H1':
2
0,'L1':
2
0,'V1':
2
0}
#####################################################################################
[engine]
...
...
lalinference/python/lalinference/lalinference_pipe_utils.py
View file @
d947fdca
...
...
@@ -75,7 +75,7 @@ class Event():
dummyCacheNames
=
[
'LALLIGO'
,
'LALVirgo'
,
'LALAdLIGO'
,
'LALAdVirgo'
]
def
readLValert
(
threshold_snr
=
None
,
gid
=
None
,
flow
=
4
0.0
,
gracedb
=
"gracedb"
,
basepath
=
"./"
,
downloadpsd
=
True
,
roq
=
False
):
def
readLValert
(
threshold_snr
=
None
,
gid
=
None
,
flow
=
2
0.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
=
4
0.0
flow
=
2
0.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
(
4
0.0
)
prenode
.
flows
[
ifo
]
=
str
(
2
0.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'
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment