Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: imagefitter.setmaxpixels - Function Up: imagefitter - Tool Previous: imagefitter.nfits - Function


imagefitter.regions - Function



Package general
Module images
Tool imagefitter


Recover fitted regions


Synopsis
regions(which)


Arguments

which in Which fit ?
    Allowed: Unset or integer
    Default: All


Returns
Record of regions, region, or fail



Description

As well as the internal fitlist (a record of Componentlist tools), there is also a record of regions, corresponding to the accepted fits that is stored internally.

This function recovers those regions. By default, you get them all in an indexed record. You can specify a specific one if you wish, and then the function returns the region directly (rather than putting it in a record).



Example
- myfitter := imagefitter(infile='ngc1313.cube')
- r := myfitter.regions()
- print 'number of fitted regions=', length(r)
- im := image('ngc1313.cube')
- im.view(region=r[1])
Here the region of the image that was fitted for the first component is displayed.





next up previous contents index
Next: imagefitter.setmaxpixels - Function Up: imagefitter - Tool Previous: imagefitter.nfits - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01