nraonrao
 
NRAO Home > CASA > TaskRef

0.1.73 uvcontsub2

Requires:

Synopsis Continuum fitting and subtraction in the uv plane CALIBRATION VERSION Description

With this task, the continuum emission is estimated from the spectral windows and channels selected by fitspw. Currently, only a constant continuum (fitorder=0) is supported; this will be generalized in the near future. The data may be averaged in time to increase the signal to noise for each continuum estimate. This fit represents a model of the continuum in all channels.

The fitted continuum spectrum is subtracted from all channels selected in spw, and the result (presumably only line emission) is stored in the CORRECTED_DATA. The continuum fit is stored in the MODEL_DATA.

If desired, new MeasurementSets are generating containing the continuum and continuum-subtracted line data.

Arguments





Inputs

vis

Nome of input visibility file

allowed:

string

Default:

field

Select field using field id(s) or field name(s)

allowed:

any

Default:

variant

fitspw

Spectral window/channel selection for fitting the continuum

allowed:

string

Default:

combine

Data axes which to combine for the continuum estimation (spw, scan, and/or field)

allowed:

string

Default:

solint

Continuum fit timescale

allowed:

any

Default:

variant int

fitorder

Polynomial order for the fit (CURRENTLY, only 0 is supported)

allowed:

int

Default:

0

spw

Spectral window selection for subtraction/export

allowed:

string

Default:

splitdata

Split out continuum, continuum-subtracted data

allowed:

bool

Default:

False

Example

 
 
Continuum fitting and subtraction in the uv plane:  
 
With this task, the continuum emission is estimated from the  
        spectral windows and channels selected by fitspw.  Currently,  
        only a constant continuum (fitorder=0) is supported; this will  
        be generalized in the near future.   The data may be averaged  
        in time to increase the signal to noise for each continuum  
        estimate.  This fit represents a model of the continuum in  
        all channels.  
 
The fitted continuum spectrum is subtracted from all channels  
        selected in spw, and the result (presumably only  
line emission) is stored in the CORRECTED_DATA.  The  
continuum fit is stored in the MODEL_DATA.  
 
        If desired, new MeasurementSets are generating containing  
        the continuum and continuum-subtracted line data.  
 
        The input MeasurementSet should have calibrated data in  
        its DATA column.  
 
Keyword arguments:  
vis -- Name of input visibility file  
default: none; example: vis=’ngc5921.ms’  
        field -- Field selection for continuum estimation, subtraction, and  
                (if splitdata=True) split  
                default: field = ’’ means select all fields  
                field = 1 # will get field_id=1 (if you give it an  
                        integer, it will retrieve the source with that index.  
                field = ’1328+307’  specifies source ’1328+307’  
field = ’13*’ will retrieve ’1328+307’ and any other fields  
   beginning with ’13’  
fitspw -- Selection of spectral windows and channels to use in the  
          fit for the continuum, using general spw syntax  
default: (all); example: fitspw=’0:5~30;40~55’  
        combine -- Data axes to combine for the continuum estimate  
                default: ’’ --> solutions will break at scan, field, and spw  
                      boundaries according to solint  
              Options: ’’,’spw’’,’scan’,field’, or any comma-separated combination  
              example: combine=’spw’  --> form spw-averaged continuum estimate  
solint -- Timescale for per-baseline fit (units optional)  
default: ’int’ --> no averaging, fit every integration;  
example: solint=’10s’  --> average to 10s before fitting  
                         10 or ’10’ --> ’10s’ (unitless: assumes seconds)  
                options: ’int’ --> per integration  
                         ’inf’ --> per scan  
fitorder -- Polynomial order for the fit of the continuum  
default: 0 (constant); example: fitorder=1  
spw -- Optional per spectral window selection of channels from  
       which to subtract the continuum.  
default: spw=’’, means subtract from all channels for  
  each spw that had a continuum estimated  
       Also, this specifies which spw/chan will be split  
       out if splitdata=True.  
splitdata -- Split out continuum and continuum subtracted line data  
default: ’False’; example: splitdata=True  
The continuum data will be placed in: vis.cont  
The continuum subtracted data will be placed in: vis.contsub  
        async -- Run task in a separate process (return CASA prompt)  
                default: False; example: async=True  
 

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.