- sherpa.astro.io.read_table_blocks(arg, make_copy=False)[source] [edit on github]
Return the HDU elements (columns and header) from a FITS table.
arg – The data file, which can be the name of the file or an object representing the opened file (the type of this depends on the I/O backend in use).
make_copy (bool, optional) – This argument is currently unused.
filename, cols, hdr – The name of the file, the column data, and the header data from the HDUs in the file. The keys of the dictionaries are the block name and the values are dictionaries, with the keys being the column or header name.
- Return type