@classmethod
def from_table_hdu(cls, hdu):
    'Create `EnergyDependentMultiGaussPSF` from HDU list.\n\n        Parameters\n        ----------\n        hdu : `~astropy.io.fits.BinTableHDU`\n            HDU\n        '
    table = Table.read(hdu)
    energy_axis_true = MapAxis.from_table(table, column_prefix='ENERG', format='gadf-dl3')
    offset_axis = MapAxis.from_table(table, column_prefix='THETA', format='gadf-dl3')
    shape = (offset_axis.nbin, energy_axis_true.nbin)
    sigmas = []
    for key in ['SIGMA_1', 'SIGMA_2', 'SIGMA_3']:
        sigma = hdu.data[key].reshape(shape).copy()
        sigmas.append(sigma)
    norms = []
    for key in ['SCALE', 'AMPL_2', 'AMPL_3']:
        norm = hdu.data[key].reshape(shape).copy()
        norms.append(norm)
    return cls(energy_axis_true=energy_axis_true, offset_axis=offset_axis, sigmas=sigmas, norms=norms, meta=dict(hdu.header))
Create `EnergyDependentMultiGaussPSF` from HDU list.

Parameters
----------
hdu : `~astropy.io.fits.BinTableHDU`
    HDU
@classmethod
def from_table_hdu(cls, hdu):
    'Create `EnergyDependentMultiGaussPSF` from HDU list.\n\n        Parameters\n        ----------\n        hdu : `~astropy.io.fits.BinTableHDU`\n            HDU\n        '
    table = Table.read(hdu)
    energy_axis_true = MapAxis.from_table(table, column_prefix='ENERG', format='gadf-dl3')
    offset_axis = MapAxis.from_table(table, column_prefix='THETA', format='gadf-dl3')
    shape = (offset_axis.nbin, energy_axis_true.nbin)
    sigmas = []
    for key in ['SIGMA_1', 'SIGMA_2', 'SIGMA_3']:
        sigma = hdu.data[key].reshape(shape).copy()
        sigmas.append(sigma)
    norms = []
    for key in ['SCALE', 'AMPL_2', 'AMPL_3']:
        norm = hdu.data[key].reshape(shape).copy()
        norms.append(norm)
    return cls(energy_axis_true=energy_axis_true, offset_axis=offset_axis, sigmas=sigmas, norms=norms, meta=dict(hdu.header))