load_hdu

kgpy.io.fits.load_hdu(frame_path, hdu_index=0)

Load the first hdu from each path in frame list. :type frame_path: numpy.ndarray :param frame_path: A pathlib.Path array of fits files. :rtype: numpy.ndarray :return: An astropy.io.fits.PrimaryHDU array the same size as frame path

Parameters:
Return type:

ndarray