Skip to content

Commit ccefea7

Browse files
committed
test
1 parent efa0acd commit ccefea7

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

bin/pycbc_inspiral_fir_multi

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,7 @@ def compute_batch_chisq(ids_local, t_idxs, snrs, snrs_low, snrs_high, h_norm,
8888
logging.info('start chisq calc')
8989
tids2 = tids * kmax / ((len(stilde) - 1)*2)
9090
chi, dof = chisq_estimator.values(corr, snrvs, 1, stilde.psd[:kmax], tids2, template)
91-
if dof == -100:
92-
chi, dof = 10, 10
93-
94-
print(chi, dof, abs(snrs_high[idx])**2.0)
95-
chi += abs(snrs_high[idx])**2.0
91+
chi += abs(snrs_high[idx])**2.0 + abs(snrs_low[idx])**2.0 - abs(snrs[idx])**2.0
9692
dof += 2
9793

9894

0 commit comments

Comments
 (0)