read_file_header#
- sunpy.io._file_tools.read_file_header(filepath, filetype=None, **kwargs)[source]#
Reads the header from a given file.
This should always return a instance of
FileHeader
.- Parameters:
- Returns:
headers (
list
) – A list of headers.