healpy.fitsfunc.mrdfits

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

Read a table in a fits file.

Parameters:

filename : str

The name of the fits file to read

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