Column

class sherpa.astro.io.types.Column(name: str, values: ndarray, desc: str | None = None, unit: str | None = None, minval: int | float | None = None, maxval: int | float | None = None)[source] [edit on github]

Bases: object

Represent a FITS column.

This does not support all FITS features.

Attributes Summary

desc

The column description

maxval

The maximum value (corresponds to FITS TLMAX setting).

minval

The minimum value (corresponds to FITS TLMIN setting).

unit

The units of the column

name

The column name (case insensitive)

values

The values for the column, as a ndarray.

Attributes Documentation

desc: str | None = None

The column description

maxval: int | float | None = None

The maximum value (corresponds to FITS TLMAX setting).

minval: int | float | None = None

The minimum value (corresponds to FITS TLMIN setting).

unit: str | None = None

The units of the column

name: str

The column name (case insensitive)

values: ndarray

The values for the column, as a ndarray.

Variable-field arrays are represented as ndarrays with an object type.