EboundsBlock
- class sherpa.astro.io.types.EboundsBlock(name: str, header: Header, columns: list[Column])[source] [edit on github]
Bases:
TableBlockRepresent the EBOUNDS block of a RMF.
This ensures that the columns CHANNEL, E_MIN, and E_MAX exist. It currently does not enforce any header settings.
Methods
get(colname)Return the column (case insensitive) if it exists.
rget(colname)Return a required column (case insensitive).
Attributes Summary
The column data.
The name of the HDU (case insensitive)
The header values
Methods Summary
get(colname)Return the column (case insensitive) if it exists.
rget(colname)Return a required column (case insensitive).
Attributes Documentation
Methods Documentation
- get(colname: str) Column | None [edit on github]
Return the column (case insensitive) if it exists.
- rget(colname: str) Column [edit on github]
Return a required column (case insensitive).
Raise a ValueError if colname does not exist.