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_fileslist
List of FITS filenames
- keywordslist or None
List of header keywords to retrieve. If
None
, then generate a list of all keywords from the first file in the list.- extint, 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_casefunc
Function to set the case of the output colnames, e.g.,
str.lower
,str.upper
,str.title
.
- Returns
- tab
Table
Output table.
- tab