NRAO Home > CASA > CASA Cookbook and User Reference Manual

6.6.2 Examples using (immoments)

For example, using the NGC5921 example (§ F.1):

  default(’immoments’)  
  imagename = ’ngc5921.demo.cleanimg’  
  # Do first and second spectral moments  
  axis  = ’spectral’  
  chans = ’’  
  moments = [0,1]  
  # Need to mask out noisy pixels, currently done  
  # using hard global limits  
  excludepix = [-100,0.009]  
  outfile = ’ngc5921.demo.moments’  
 
  immoments()  
 
  # It will have made the images:  
  # --------------------------------------  
  # ngc5921.demo.moments.integrated  
  # ngc5921.demo.moments.weighted_coord

Other examples of NGC2403 (a moment zero image of a VLA line dataset) and NGC4826 (a moment one image of a BIMA CO line dataset) are shown in Figure 6.1.


PIC PIC

Figure 6.1: NGC2403 VLA moment zero (left) and NGC4826 BIMA moment one (right) images as shown in the viewer.

_________________________________________________________________________________________


ALERT: We are working on improving the thresholding of planes beyond the global cutoffs in includepix and excludepix.


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