Skip to content
Snippets Groups Projects
Commit 2c0d7c12 authored by Cody Messick's avatar Cody Messick
Browse files

gstlal_inspiral_plot_banks: Switch from using mtotal column of template bank to

adding m1 and m2, due to O3 bank not having mtotal column populated in imbh region
parent 49bad727
No related branches found
No related tags found
No related merge requests found
......@@ -98,13 +98,13 @@ def mtotal(row):
return row.mass1 + row.mass2
def eta(row):
return row.mass1 * row.mass2 / row.mtotal**2.
return row.mass1 * row.mass2 / mtotal(row)**2.
def mchirp(row):
return row.mtotal * row.eta**0.6
return mtotal(row) * row.eta**0.6
def chi(row):
return (row.mass1 * row.spin1z + row.mass2 * row.spin2z) / row.mtotal
return (row.mass1 * row.spin1z + row.mass2 * row.spin2z) / mtotal(row)
def marker_and_size(n):
if n > 2000:
......
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