Skip to content

Commit

Permalink
update for better readability
Browse files Browse the repository at this point in the history
Signed-off-by: kminoda <[email protected]>
  • Loading branch information
kminoda committed Nov 14, 2023
1 parent d1a3552 commit 055f242
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ def plot_thresholds(recall_list, lower_bound, threshold, scale, save_path=None):

def plot_bag_compare(save_path, results):
# Ignore the initial part larger than this value, since the values right after launch may diverge.
ignore_index = np.where(results.long_radius.expected_error < THRESHOLD_FOR_INITIALIZED_ERROR)[
0
][0]
is_smaller_than_thres = results.long_radius.expected_error < THRESHOLD_FOR_INITIALIZED_ERROR
ignore_index = np.where(is_smaller_than_thres)[0][0]
error_maximum = np.max(
np.hstack(
[
Expand Down

0 comments on commit 055f242

Please sign in to comment.