Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed missing import of QTable #188

Merged
merged 10 commits into from
Apr 14, 2022
10 changes: 5 additions & 5 deletions protopipe/benchmarks/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
The implementation of functions and classes is far from perfect and
we should really try to synchronize in some way with ctaplot/ctabenchmarks.
"""
import numpy as np
import astropy.units as u
import matplotlib.pyplot as plt
import numpy as np
from astropy.table import QTable
from matplotlib.colors import LogNorm
from scipy.stats import binned_statistic, norm
from sklearn.metrics import auc, roc_curve, accuracy_score
from scipy.optimize import curve_fit
from pyirf.utils import cone_solid_angle

from scipy.optimize import curve_fit
from scipy.stats import binned_statistic, norm
from sklearn.metrics import accuracy_score, auc, roc_curve

LOWER_SIGMA_QUANTILE, UPPER_SIGMA_QUANTILE = norm().cdf([-1, 1])

Expand Down