healpy.fitsfunc.mrdfits

healpy.fitsfunc.mrdfits(filename, hdu=1)

Read a table in a fits file.

Parameters:

filename : str or HDUList or HDU

The name of the fits file to read, or an HDUList or HDU instance.

hdu : int, optional

The header to read. Start at 0. Default: hdu=1

Returns:

cols : a list of arrays

A list of column data in the given header