Skip to content

Commit

Permalink
return bias dict
Browse files Browse the repository at this point in the history
  • Loading branch information
FaroutYLq committed May 14, 2024
1 parent 69b5f48 commit 3517590
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions saltax/match/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,18 @@ def show_area_bias(
plt.title(title)
plt.show()

result_dict = {}
result_dict['coord'] = coord
result_dict['s1s2'] = s1s2
result_dict['bins_mid'] = bins_mid
result_dict['bias_med'] = bias_med
result_dict['bias_1sig_u'] = bias_1sig_u
result_dict['bias_1sig_l'] = bias_1sig_l
result_dict['bias_2sig_u'] = bias_2sig_u
result_dict['bias_2sig_l'] = bias_2sig_l

return result_dict


def show_eff2d(
events,
Expand Down

0 comments on commit 3517590

Please sign in to comment.