extract_times

kgpy.io.fits.extract_times(hdu, keyword)

From an array of HDUs, create a time object where each element is a HDU timestamp :type hdu: numpy.ndarray :param hdu: An astropy.io.fits.PrimaryHDU array :return: astropy.time.Time object with the timestamps extracted from the HDU array.

Parameters: