Commit 9ef952f1 authored by chad.hanna's avatar chad.hanna

REVERT ME: lloidparts.py: raise the snr threshold to 4 instead of 3.5 to make...

REVERT ME: lloidparts.py: raise the snr threshold to 4 instead of 3.5 to make online running more stable until coincidence / other python stuff is faster
parent 4b88995f
......@@ -690,12 +690,12 @@ def mkLLOIDmulti(pipeline, detectors, banks, psd, psd_fft_length = 32, ht_gate_t
#snr = pipeparts.mktee(pipeline, snr)
if chisq_type == 'autochisq':
# FIXME don't hardcode
# peak finding window (n) in samples is 1 second at max rate, ie max(rates)
# peak finding window (n) in samples is 1/4 second at max rate, ie max(rates) / 4
# NOTE the snr min set in the diststats file is 3.5,
# but 4 is about the lowest we can do stably for
# coincidence online...
nsamps_window = max(max(bank.get_rates()) / 4, 256) # FIXME stupid hack
if instrument == 'H1' or instrument == 'L1':
head = pipeparts.mkitac(pipeline, snr, nsamps_window, bank.template_bank_filename, autocorrelation_matrix = bank.autocorrelation_bank, mask_matrix = bank.autocorrelation_mask, snr_thresh = 4, sigmasq = bank.sigmasq)
else:
head = pipeparts.mkitac(pipeline, snr, nsamps_window, bank.template_bank_filename, autocorrelation_matrix = bank.autocorrelation_bank, mask_matrix = bank.autocorrelation_mask, snr_thresh = bank.snr_threshold, sigmasq = bank.sigmasq)
head = pipeparts.mkitac(pipeline, snr, nsamps_window, bank.template_bank_filename, autocorrelation_matrix = bank.autocorrelation_bank, mask_matrix = bank.autocorrelation_mask, snr_thresh = 4.0, sigmasq = bank.sigmasq)
if verbose:
head = pipeparts.mkprogressreport(pipeline, head, "progress_xml_%s" % suffix)
triggersrcs[instrument].add(head)
......
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