code: def create_from_hdulist(cls, hdulist, **kwargs):
          
          extname = kwargs.get('hdu', hdulist[1].name)
          ebins = fits_utils.find_and_read_ebins(hdulist)
          return cls.create_from_hdu(hdulist[extname], ebins)
docs: Creates and returns an HpxMap object from a FITS HDUList
  
          extname : The name of the HDU with the map data
          ebounds : The name of the HDU with the energy bin data