extract_header_value

kgpy.io.fits.extract_header_value(hdu, key)

From an array of HDUs and a fits header keyword, make an array with the value of the keyword as each element. :type hdu: numpy.ndarray :param hdu: An astropy.io.fits.PrimaryHDU array :type key: str :param key: A fits keyword :rtype: numpy.ndarray :return: An array of the value of the fits keyword for every element in hdu.

Parameters:
Return type:

ndarray