![]()
|
|||
|
|
|||
| NRAO Home > CASA > CasaDocument | |||
1.1.1 Find maximum and do parabolic fit in the sky
Description
This function finds the pixel with the maximum value in the region, and then
uses function findsources to generate a Componentlist with one component.
The component will be of type Point (point=T) or Gaussian (point=F).
If negfind=F the maximum pixel value is found in the region and fit. If negfind=T the absolute maximum pixel value is found in the region and fit.
See function findsources for a description of arguments point and width.
See also the function fitsky.
Arguments
| Inputs |
| ||
| region |
| The 2-D region of interest to fit. Default is whole image.
| |
| allowed: | any |
|
| Default: | record |
|
| point |
| Find only point sources?
| |
| allowed: | bool |
|
| Default: | true |
|
| width |
| Half-width of fit grid when point=F
| |
| allowed: | int |
|
| Default: | 5 |
|
| negfind |
| Find negative sources as well as positive?
| |
| allowed: | bool |
|
| Default: | false |
|
| list |
| List the fitted parameters to the logger?
| |
| allowed: | bool |
|
| Default: | true |
|
Example
"""
# print "\t----\t maxfit Ex 1 \t----" ia.maketestimage() clrec = ia.maxfit() print clrec # There is only one component ia.close() # """ |
Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu
Copyright © 2007 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search
Updated daily during alpha development.