|
|
|
|
SynopsisLoad FITS image data by id Syntaxload_image( [id=1], filename; [coord="logical"] ); load_image( [id=1], IMAGECrate; [coord="logical"] ); load_image( [id=1], PyFITS HDUList; [coord="logical"] ); DescriptionLoad a FITS image file given a filename and path, or an IMAGECrate object, or a PyFITS HDUList object into a data set by data set ID. Example
sherpa> load_image("img.fits");
sherpa> load_image("psf", "img.fits");
sherpa> load_image(1, "img.fits");
sherpa> load_image(crate);
sherpa> load_image(hdulist);The load_image function can be called with just a filename and path argument, in which case the default id and coord will be used. Data set IDs can be integers or strings; in the latter case a string can denote useful information about the data (e.g., whether it is your source or PSF data set). BugsSee the bugs pages on the Sherpa Beta website for an up-to-date listing of known bugs. |
![]() |
The Chandra X-Ray
Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA. Email: cxcweb@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2004. All rights reserved. |