Skip to content
Snippets Groups Projects
Commit 127910ba authored by chad.hanna's avatar chad.hanna Committed by Patrick Godwin
Browse files

gstlal_ll_inspiral_pipe, inspiral_pipe.py: add activation counts file option to online DAG

parent 72e3078a
No related branches found
No related tags found
No related merge requests found
Pipeline #85936 passed with warnings
......@@ -133,6 +133,7 @@ def parse_command_line():
parser.add_option("--likelihood-cache", help = "set the cache containin likelihood files")
parser.add_option("--zerolag-likelihood-cache", help = "set the cache containin zerolag likelihood files")
parser.add_option("--marginalized-likelihood-file", help = "set the marginalized likelihood file, required")
parser.add_option("--activation-counts-file", metavar = "filename", help = "Set the name of the h5 file containing activation counts for multicomponent p-astro.")
parser.add_option("--compress-ranking-stat", action = "store_true", help = "Choose whether to compress the ranking stat upon start up. Only used when --ranking-stat-input is set.")
parser.add_option("--compress-ranking-stat-threshold", type = "float", default = 0.03, help = "Only keep horizon distance values that differ by this much, fractionally, from their neighbours (default = 0.03).")
parser.add_option("--control-peak-time", default = 4, metavar = "secs", help = "set the control peak time, default 4")
......
......@@ -150,6 +150,10 @@ def online_inspiral_layer(dag, jobs, options):
}
common_opts.update(datasource_opts)
# If providing an activation counts file provide it.
if options.activation_counts_file:
common_opts.update({"activation-counts-file": options.activation_counts_file})
# add ranking stat compression options, if requested
if options.compress_ranking_stat:
compress_opts = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment