Skip to content
Snippets Groups Projects
Commit 0145ce69 authored by Patrick Godwin's avatar Patrick Godwin
Browse files

gstlal_inspiral_dag: remove far injection code

parent f3ee4be4
No related branches found
No related tags found
No related merge requests found
......@@ -262,8 +262,6 @@ def parse_command_line():
parser.add_option("--ht-gate-threshold", type="float", help="set a threshold on whitened h(t) to veto glitches")
parser.add_option("--ht-gate-threshold-linear", metavar = "mchirp_min:ht_gate_threshold_min-mchirp_max:ht_gate_threshold_max", type="string", help = "Set the threshold on whitened h(t) to mark samples as gaps (glitch removal) with a linear scale of mchirp")
parser.add_option("--blind-injections", metavar = "filename", help = "Set the name of an injection file that will be added to the data without saving the sim_inspiral table or otherwise processing the data differently. Has the effect of having hidden signals in the input data. Separate injection runs using the --injections option will still occur.")
# FIXME far-injections currently doesnt work, either fix it or delete it
#parser.add_option("--far-injections", action = "append", help = "Injection files with injections too far away to be seen and are not filtered. Required. See https://www.lsc-group.phys.uwm.edu/ligovirgo/cbcnote/NSBH/MdcInjections/MDC1 for example.")
parser.add_option("--singles-threshold", default=float("inf"), action = "store", metavar="THRESH", help = "Set the SNR threshold at which to record single-instrument events in the output (default = +inf, i.e. don't retain singles).")
parser.add_option("--gzip-test", default=False, action = "store_true", help = "Perform gzip --test on all output files.")
parser.add_option("--verbose", action = "store_true", help = "Be verbose")
......@@ -354,12 +352,6 @@ def parse_command_line():
fail += "must provide option %s\n" % (option)
if fail: raise ValueError, fail
# FIXME far-injections currently doesnt work, either fix it or delete it
#if options.far_injections is not None and len(options.injections) != len(options.far_injections):
# raise ValueError("number of injection files and far injection files must be equal")
#if options.far_injections is None:
# options.far_injections = [None for inj in options.injections]
#FIXME a hack to find the sql paths
share_path = os.path.split(dagparts.which('gstlal_inspiral'))[0].replace('bin', 'share/gstlal')
options.snr_cluster_sql_file = os.path.join(share_path, 'snr_simplify_and_cluster.sql')
......
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