astropy 5.0

Parameters
__init__(self, name=None, format=None, unit=None, null=None, bscale=None, bzero=None, disp=None, start=None, dim=None, array=None, ascii=None, coord_type=None, coord_unit=None, coord_ref_point=None, coord_ref_value=None, coord_inc=None, time_ref_pos=None)

Parameters

name : str, optional

column name, corresponding to TTYPE keyword

format : str

column format, corresponding to TFORM keyword

unit : str, optional

column unit, corresponding to TUNIT keyword

null : str, optional

null value, corresponding to TNULL keyword

bscale : int-like, optional

bscale value, corresponding to TSCAL keyword

bzero : int-like, optional

bzero value, corresponding to TZERO keyword

disp : str, optional

display format, corresponding to TDISP keyword

start : int, optional

column starting position (ASCII table only), corresponding to TBCOL keyword

dim : str, optional

column dimension corresponding to TDIM keyword

array : iterable, optional

a :None:None:`list`, numpy.ndarray (or other iterable that can be used to initialize an ndarray) providing initial data for this column. The array will be automatically converted, if possible, to the data format of the column. In the case were non-trivial bscale and/or bzero arguments are given, the values in the array must be the physical values--that is, the values of column as if the scaling has already been applied (the array stored on the column object will then be converted back to its storage values).

ascii : bool, optional

set :None:None:`True` if this describes a column for an ASCII table; this may be required to disambiguate the column format

coord_type : str, optional

coordinate/axis type corresponding to TCTYP keyword

coord_unit : str, optional

coordinate/axis unit corresponding to TCUNI keyword

coord_ref_point : int-like, optional

pixel coordinate of the reference point corresponding to TCRPX keyword

coord_ref_value : int-like, optional

coordinate value at reference point corresponding to TCRVL keyword

coord_inc : int-like, optional

coordinate increment at reference point corresponding to TCDLT keyword

time_ref_pos : str, optional

reference position for a time coordinate column corresponding to TRPOS keyword

Construct a Column by specifying attributes. All attributes except format can be optional; see astropy:column_creation and astropy:creating_ascii_table for more information regarding TFORM keyword.

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/column.py#521
type: <class 'function'>
Commit: