Change from QTable to Table in gammapy/scripts/image_pipe.py
from __future__ import absolute_import, division, print_function, unicode_literals
import numpy as np
from astropy.units import Quantity
-from astropy.table import QTable, Table
+from astropy.table import Table
from astropy.coordinates import Angle
from astropy.convolution import Tophat2DKernel
from ..utils.energy import EnergyBounds
@@ -115,7 +115,7 @@ class SingleObsImageMaker(object):
Returns
-------
- table : `astropy.table.QTable`
+ table : `astropy.table.Table`
Two columns: offset in the FOV "theta" and expected counts "npred"
"""
energy = EnergyBounds.equal_log_spacing(self.energy_band[0].value, self.energy_band[1].value, 100,
@@ -133,7 +133,7 @@ class SingleObsImageMaker(object):
norm = np.sum(spectrum * energy_band)
npred /= norm
- table = QTable()
+ table = Table()
table['theta'] = offset
table['npred'] = npred
