Skip to content

Commit

Permalink
hardcoded lower bound of s2 bias in show_area_bias
Browse files Browse the repository at this point in the history
  • Loading branch information
FaroutYLq committed Jul 11, 2024
1 parent ef77084 commit ec31614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions saltax/match/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ def get_cut_eff(
if coord == "cs1" or coord == "s1_area":
bins = np.linspace(0, 100, n_bins)
elif coord == "cs2" or coord == "s2_area":
bins = np.linspace(500, 7000, n_bins)
bins = np.linspace(200, 3000, n_bins)
elif coord == "z":
bins = np.linspace(-134, -13, n_bins)
else:
Expand Down Expand Up @@ -909,7 +909,7 @@ def show_area_bias(
BINS = {
"z": np.linspace(-134, -13, n_bins),
"s1_area": np.linspace(0, 100, n_bins),
"s2_area": np.linspace(500, 7000, n_bins),
"s2_area": np.linspace(200, 7000, n_bins),
"s1_range_50p_area": np.linspace(0, 300, n_bins),
"s1_range_90p_area": np.linspace(0, 1000, n_bins),
"s1_rise_time": np.linspace(0, 150, n_bins),
Expand Down

0 comments on commit ec31614

Please sign in to comment.