|
|||
NRAO Home > CASA > CASA Cookbook and User Reference Manual |
|
6.7.2 Examples for imstat
The following are some examples using the B1608+656 Tutorial
as an example.
To extract statistics for the final image:
# Printing out some of these
print ’Max = ’+str(xstat[’max’][0])
print ’Sigma = ’+str(xstat[’sigma’][0])
# results:
# Max = 0.016796965152
# Sigma = 0.00033631979385
In a box around the brightest component:
# Printing out some of these
print ’Comp A Max Flux = ’+str(xstat_A[’max’][0])
print ’Comp A Max X,Y = (’+str(xstat_A[’maxpos’][0])+’,’+str(xstat_A[’maxpos’][1])+’)’
# results:
# Comp A Max Flux = 0.016796965152
# Comp A Max X,Y = (128,129)
More information about CASA may be found at the
CASA web page
Copyright © 2010 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