pack_table
- sherpa.astro.ui.pack_table(id=None)
Convert a data set into a table structure.
- Parameters
id (int or str, optional) – The data set to use. If not given then the default identifier is used, as returned by
get_default_id
.- Returns
The return value depends on the I/O library in use and the type of data (such as
Data1D
,Data2D
).- Return type
tbl
See also
load_table
Load a FITS binary file as a data set.
set_data
Set a data set.
unpack_table
Unpack a FITS binary file into a data structure.