Skip to content
Snippets Groups Projects
Commit 3294a38e authored by Patrick Godwin's avatar Patrick Godwin Committed by Patrick Godwin
Browse files

address tab/space mixing issues

parent 9b71d01b
No related branches found
No related tags found
1 merge request!122Assorted fixes
......@@ -106,8 +106,8 @@ for row in sngl_inspiral_table:
prob[row.template_id] /= TEMPDENS(mchirp)
elif options.model == "uniform-template":
hdist = sorted([HorizonDistance(15, 1024, 1./4., row.mass1, row.mass2, (0., 0., row.spin1z), (0., 0., row.spin2z))(psd[ifo])[0] for ifo in psd.keys()])
prob[row.template_id] = 1.0 / (hdist[-options.min_instrument]**3)
hdist = sorted([HorizonDistance(15, 1024, 1./4., row.mass1, row.mass2, (0., 0., row.spin1z), (0., 0., row.spin2z))(psd[ifo])[0] for ifo in psd.keys()])
prob[row.template_id] = 1.0 / (hdist[-options.min_instrument]**3)
elif options.model == "bbh":
#
......
......@@ -111,4 +111,4 @@ def plot_segments_history(seglistdicts, segments_to_plot = ['trigger buffers', '
fig.tight_layout(pad = .8)
return fig, axes
except AttributeError:
return fig, axes
return fig, axes
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