HeaderItem

class sherpa.astro.io.types.HeaderItem(name: str, value: str | bool | int | float, desc: str | None = None, unit: str | None = None)[source] [edit on github]

Bases: object

Represent a FITS header card.

This does not support all FITS features.

Attributes Summary

desc

The description for the keyword

unit

The units of the value

name

The keyword name (case insensitive, no spaces)

value

The keyword value

Attributes Documentation

desc: str | None = None

The description for the keyword

unit: str | None = None

The units of the value

name: str

The keyword name (case insensitive, no spaces)

value: str | bool | int | float

The keyword value