|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
image.maxfit - Function
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 fitcomponents.
Arguments
Inputs |
| ||
region |
| Region selection. See ”help par.region” for details.
Default is to use the full image.
| |
| allowed: | any |
|
| Default: | variant
|
|
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 |
|
record
Example
"""
#
print "\t----\t maxfit Ex 1 \t----"
ia.maketestimage()
clrec = ia.maxfit()
print clrec # There is only one component
ia.close()
#
"""
__________________________________________________________________
More information about CASA may be found at the
CASA web page
Copyright © 2016 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