![]()
|
|||
|
|
|||
| NRAO Home > CASA > CasaDocument | |||
1.1.1 Summarize basic information about the image
Description
This function summarizes miscellaneous information such as shape,
Coordinate System, restoring beams, and masks.
If called without any arguments, this function displays a summary of the image header to the logger; where appropriate, values will be formatted nicely (e.g. HH:MM:SS.SS for the reference value of RA axes).
For spectral axes, the information is listed as a velocity as well as a frequency. The argument doppler allows you to specify what velocity doppler convention it is listed in. You can choose from radio, optical and true. Alternative names are z for optical, and beta or relativistic for true. The default is radio. The definitions are
where F = ν∕ν0 and ν0 is the rest frequency. If the rest frequency has not been set in your image, you can set it via a Coordsys tool with the function setrestfrequency.
If the output of summary is saved to a variable, then the header field (for instance, mysummary[’header’]) has the following fields filled in:
If you set list=F, then the summary will not be written to the logger. The return value of the function, in the header field is a vector string containing the formatted output that would normally have gone to the logger.
Arguments
| Outputs |
| ||
| header |
| Header information
| |
| allowed: | any |
|
| Default: | record |
|
| Inputs |
| ||
| doppler |
| If there is a spectral axis, list velocity too, with this
doppler definition
| |
| allowed: | string |
|
| Default: | RADIO |
|
| list |
| List the summary to the logger
| |
| allowed: | bool |
|
| Default: | true |
|
| pixelorder |
| List axis descriptors in pixel or world axis order
| |
| allowed: | bool |
|
| Default: | true |
|
Example
"""
# print "\t----\t summary Ex 1 \t----" ia.maketestimage(’myim1’, overwrite=true) ia.summary() # summarize to logging only s = ia.summary(list=F) # store header in record if s[’header’][’ndim’] == 2: # program using header values print s[’header’][’axisnames’] 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.