Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | general | |
Module | images | |
Tool | imagefitter |
infile | in | The image file name or image tool | |
Allowed: | The file name or an Image tool | ||
region | in | The region of interest to display | |
Allowed: | Region tool | ||
Default: | Whole image | ||
parent | in | Parent frame to embed GUI in | |
Allowed: | Tk frame agent | ||
Default: | F | ||
residual | in | Residual image file name | |
Allowed: | String | ||
Default: | Temporary image | ||
maxpix | in | Maximum number of pixels to fit without query | |
Allowed: | Integer | ||
Default: | 256*256 | ||
widgetset | in | The widgetset to use for the GUI | |
Allowed: | A widgetserver tool | ||
Default: | ddlws |
This is the constructor. You must specify the image file either by its name or by giving an image tool. You may optionally embed the display in an existing Tk frame (parent) if you wish. This constructor does a fair amount of work, so be a little patient if need be.
The input image is copied (and any specified region applied); this copied image is used should you choose to subtract any model fits (via the GUI). If you specify the argument residual, then the copied image is saved in a file of this name. If you leave residual unspecified, a temporary image will be created and used for model subtractions, but it will be destroyed when you terminate the Imagefitter.
See the description at the top of this document to find details on operating the Imagefitter interface.
- myfitter := imagefitter(infile='ngc1313.cube') - myfitter.done() - im := image('ngc1313.cube') - myfitter := imagefitter(infile=im, residual='ngc1313.resid')
These examples show the two ways to use the infile argument. In the first case we indicate that should we subtract models from the image, that they should be subtracted from the image file called ngc1313.cube. In the second case we indicate that should we subtract models from the image, that the input image is not changed, and the residuals are written to the image file called ngc1313.resid.