{ } Raw JSON

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

class

astropy.io.fits.hdu.table:_TableBaseHDU

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

Signature

class   _TableBaseHDU ( data = None header = None name = None uint = False ver = None character_as_bytes = False )

Members

Summary

FITS table extension base HDU class.

Parameters

data : array

Data to be used.

header : `Header` instance

Header to be used. If the data is also specified, header keywords specifically related to defining the table structure (such as the "TXXXn" keywords like TTYPEn) will be overridden by the supplied column definitions, but all other informational and data model-specific keywords are kept.

name : str

Name to be populated in EXTNAME keyword.

uint : bool, optional

Set to True if the table contains unsigned integer columns.

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.hdu.table._TableBaseHDU