def create_from_table(cls, tab_e):
        """
        Parameters
        ----------
        tab_e : `~astropy.table.Table`
            EBOUNDS table.        
        """

        convert_sed_cols(tab_e)
        try:
            emin = np.array(tab_e['e_min'].to(u.MeV))
            emax = np.array(tab_e['e_max'].to(u.MeV))
        except:
            emin = np.array(tab_e['e_min'])
            emax = np.array(tab_e['e_max'])

        ne = len(emin)
        try:
            ref_dnde = np.array(tab_e['ref_dnde'])
        except:
            ref_dnde = np.ones((ne))

        try:
            ref_flux = np.array(tab_e['ref_flux'])
        except:
            ref_flux = np.ones((ne))

        try:
            ref_eflux = np.array(tab_e['ref_eflux'])
        except:
            ref_eflux = np.ones((ne))

        try:
            ref_npred = np.array(tab_e['ref_npred'])
        except:
            ref_npred = np.ones((ne))

        return cls(emin, emax, ref_dnde, ref_flux, ref_eflux, ref_npred)