Skip to content

Commit

Permalink
Revert names of groups in VT file
Browse files Browse the repository at this point in the history
  • Loading branch information
tdent authored Aug 24, 2023
1 parent efd8238 commit 059855c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/plotting/pycbc_plot_vt_ratio
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ for ftop in args.vt_files_one:
for k in keys:
vt_top[k] += f['data'][k][idxs]
# Variances add over files
vt_top_errsqhi[k] += f['errorhi'][k][idxs] ** 2.
vt_top_errsqhi[k] += f['errorhigh'][k][idxs] ** 2.
vt_top_errsqlow[k] += f['errorlow'][k][idxs] ** 2.

# Same for denominator
Expand All @@ -89,7 +89,7 @@ for fbot in args.vt_files_two:
'{keys} v {list(f["data"].keys())}')
for k in keys:
vt_bot[k] += f['data'][k][idxs]
vt_bot_errsqhi[k] += f['errorhi'][k][idxs] ** 2.
vt_bot_errsqhi[k] += f['errorhigh'][k][idxs] ** 2.
vt_bot_errsqlow[k] += f['errorlow'][k][idxs] ** 2.

# make the plot pretty
Expand Down

0 comments on commit 059855c

Please sign in to comment.