pack_image
- sherpa.astro.ui.pack_image(id=None)
Convert a data set into an image 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.
- Return type
img
See also
load_image
Load an image as a data set.
set_data
Set a data set.
unpack_image
Create an image data structure.