{ } Raw JSON

bundles / astropy latest / astropy / io / fits / hdu / table / TableHDU

class

astropy.io.fits.hdu.table:TableHDU

source: /astropy/io/fits/hdu/table.py :707

Signature

class   TableHDU ( data = None header = None name = None ver = None character_as_bytes = False )

Members

Summary

FITS ASCII table extension HDU class.

Parameters

data : array or `FITS_rec`

Data to be used.

header : `Header`

Header to be used.

name : str

Name to be populated in EXTNAME keyword.

ver : int > 0 or None, optional

The ver of the HDU, will be the value of the keyword EXTVER. If not given or None, it defaults to the value of the EXTVER card of the header or 1. (default: None)

character_as_bytes : bool

Whether to return bytes for string columns. By default this is False and (unicode) strings are returned, but this does not respect memory mapping and loads the whole column in memory when accessed.

Aliases

  • astropy.io.fits.TableHDU