Send image of the fit results to ds9.
image_fit( [ id, [newframe=False, tile=False, deleteframes=True]] )
Sends the fit results of 2-D image data to the imager--by
default, ds9. The images shown are data, model,
and residuals, by default each in a different tile of the display.
-
id - the id of the data set to use; if not given, uses the default dataset id (id=1 by default, see "ahelp get_default_id")
-
newframe - add a new frame;
default=False
-
tile - tile image frame;
default=False
-
deleteframes - delete preexisting frames;
default=True
sherpa> image_fit()
sherpa> image_fit(1)
sherpa> image_fit(1, newframe=True, tile=False, deleteframes=True)
The image_fit function can be called with no arguments, in
which case fit results associated with the default data set
are sent to ds9. By default, images of the data,
model and residuals are sent to three new frames, and the
frames are tiled for display.
The parameter "deleteframes" indicates whether or not any
preexisting frames should be deleted before three new
frames - containing data, model and residuals - are
created.
- py.sherpa
-
calc_chisqr,
calc_stat,
contour,
contour_data,
contour_model,
contour_ratio,
contour_resid,
fit,
get_stat,
image_close,
image_data,
image_deleteframes,
image_getregion,
image_model,
image_open,
image_ratio,
image_resid,
image_setregion,
image_source,
image_xpaget,
image_xpaset,
load_image,
pack_image,
plot_fit,
unpack_image
|