HERE ARE SOME GENERAL COMMANDS FOR LOOKING AT FITS IMAGES AND WHATNOT (ASSUMING THE pyraf or python interpreter is already started) import pyfits %This imports the pyfits modules into the namespace pyfits.info(pix.fits) %This gives the data on the pix.fits image im = pyfits.getdata(pix.fits) import numdisplay numdisplay.display(im) HERE ARE COMMANDS TO BRING A FITS FILE IN AND OPEN IT IN DS9 > > > import pyfits # load FITS module > > > from numarray import * # load array module > > > pyfits.info(pix.fits) # show info about file > > > im = pyfits.getdata(pix.fits) # read image data from file > > > import numdisplay # load image display module > > > numdisplay.display(im) # display to DS9 The function saveToFile filename saves the current state of your PyRAF session to a file (including package, task, and IRAF environment variable definitions and the current values of all task parameters.) The function restoreFromFile filename restores the state of your session from its previously saved state. A save filename can also be given as a Unix command line argument when starting up PyRAF, in which case PyRAF is initialized to the state given in that file. This can be a very useful way both to start up in just the state you want and to reduce the startup time.