header_keys_from_filelist

grizli.utils.header_keys_from_filelist(fits_files, keywords=[], ext=0, colname_case=<method 'lower' of 'str' objects>)[source]

Dump header keywords to a Table

Parameters:
fits_files : list

List of FITS filenames

keywords : list or None

List of header keywords to retrieve. If None, then generate a list of all keywords from the first file in the list.

ext : int, tuple

FITS extension from which to pull the header. Can be integer or tuple, e.g., (‘SCI’,1) for HST ACS/WFC3 FLT files.

colname_case : func

Function to set the case of the output colnames, e.g., str.lower, str.upper, str.title.

Returns:
tab : Table

Output table.