astropy 5.0

Parameters

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 :None:None:`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 :None:None:`False` and (unicode) strings are returned, but this does not respect memory mapping and loads the whole column in memory when accessed.

FITS table extension base HDU class.

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /astropy/io/fits/hdu/table.py#238
type: <class 'type'>
Commit: