def to_hdulist(self):
    '\n        Convert psf table data to FITS hdu list.\n\n        Returns\n        -------\n        hdu_list : `~astropy.io.fits.HDUList`\n            PSF in HDU list format.\n        '
    names = ['SCALE', 'SIGMA_1', 'AMPL_2', 'SIGMA_2', 'AMPL_3', 'SIGMA_3']
    units = ['', 'deg', '', 'deg', '', 'deg']
    data = [self.norms[0], self.sigmas[0], self.norms[1], self.sigmas[1], self.norms[2], self.sigmas[2]]
    axes = MapAxes([self.energy_axis_true, self.offset_axis])
    table = axes.to_table(format='gadf-dl3')
    for (name_, data_, unit_) in zip(names, data, units):
        table[name_] = [data_]
        table[name_].unit = unit_
    hdu = fits.BinTableHDU(table)
    hdu.header.update(self.meta)
    return fits.HDUList([fits.PrimaryHDU(), hdu])
Convert psf table data to FITS hdu list.

Returns
-------
hdu_list : `~astropy.io.fits.HDUList`
    PSF in HDU list format.
def to_hdulist(self):
    '\n        Convert psf table data to FITS hdu list.\n\n        Returns\n        -------\n        hdu_list : `~astropy.io.fits.HDUList`\n            PSF in HDU list format.\n        '
    names = ['SCALE', 'SIGMA_1', 'AMPL_2', 'SIGMA_2', 'AMPL_3', 'SIGMA_3']
    units = [, 'deg', , 'deg', , 'deg']
    data = [self.norms[0], self.sigmas[0], self.norms[1], self.sigmas[1], self.norms[2], self.sigmas[2]]
    axes = MapAxes([self.energy_axis_true, self.offset_axis])
    table = axes.to_table(format='gadf-dl3')
    for (name_, data_, unit_) in zip(names, data, units):
        table[name_] = [data_]
        table[name_].unit = unit_
    hdu = fits.BinTableHDU(table)
    hdu.header.update(self.meta)
    return fits.HDUList([fits.PrimaryHDU(), hdu])