nraonrao
 
NRAO Home > CASA > TaskRef

0.1.25 imcontsub

Requires:

Synopsis Subtracts specified continuum channels from a spectral line data set Arguments





Inputs

imagename

Name of the input spectral line image

allowed:

string

Default:

linefile

Output line-cont image file name

allowed:

string

Default:

contfile

Output continuum image file name

allowed:

string

Default:

fitorder

Polynomial order for the continuum estimation

allowed:

int

Default:

0

region

Image region used for continuum area

allowed:

string

Default:

box

Box pixels regions for continuum area

allowed:

string

Default:

chans

Channel ranges for continuum

allowed:

string

Default:

stokes

Stokes params to image (I,IV,IQU,IQUV)

allowed:

string

Default:

Returns
void

Example

 
 
        For a spectral line image, the regions to determine the continuum  
        regions are first defined.  A graphical interface ’regions’ is  
        the most versatile method of selecting the line-free regions.  For  
        a multi-spw image, the chanellization must be the same for all.  
 
        The continuum channels are specified and two output images are made: a  
        continuum image and a continuum-subtracted spectral line image.  
 
The continuum subtraction can be applied to either the whole image  
(default) or a selected regions.  Regions are specified via  
the box,chans, and stokes parameters or with a region file  
        given by the region parameter.  
 
Keyword arguments:  
imagename -- Input spectral line image  
Default: none; Example: imagename=’ngc5921_task.im’  
linefile -- Name of output line image  
Default: none; Example: outline=’ngc5921_line.im’  
contfile -- Name of output continuum image  
Default: none; Example: contfile=’ngc5921_cont.im’  
        fitorder -- Polynomial order for the continuum estimation.  
                Default: 0; Example fitorder=2  
        region -- ImageRegion file to define continuum  
                Default: ’’; none  
                Example: region=’myimage.im.rgn’  
                         region=’region1’  
                Use the viewer on the image cube to define the continuum,  
                   regions.  More general than box/chans.  Still experimental  
                to retrieve the list of names.  
box --  A box region on the directional plane  
        ONLY pixel values acceptable at this time.  
Default: none (whole 2-D plane); Example: box=’10,10,50,50’  
chans -- channel numbers go select for the continuum,  
        ONLY channel numbers accepted at this time.  
Default: none (all);  
                  Example: chans=’3~6;>40’  
stokes -- Stokes parameters to image, may or may not be separated  
                by commas but best if you use commas.  
                Default: none (all); Example: stokes=’IQUV’;  
                Options: ’I’,’Q’,’U’,’V’,’RR’,’RL’,’LR’,’LL’,’XX’,’YX’,’XY’,’YY’, ...  
 
 

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2008 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.