|
|||
NRAO Home > CASA > CASA Task Reference Manual |
|
0.1.99 sdsmooth
Requires:
Synopsis
Smooth spectral data
Description
Task sdsmooth performs smoothing along spectral axis using user-specified
smoothing kernel. Currently gaussian and boxcar kernels are supported.
Arguments
Inputs |
| ||
infile |
| name of input SD dataset
| |
| allowed: | string |
|
| Default: |
|
|
datacolumn |
| name of data column to be used [’data’, ’float_data’, or
’corrected’]
| |
| allowed: | string |
|
| Default: | data | |
antenna |
| select data by antenna name or ID, e.g. ’PM03’
| |
| allowed: | string |
|
| Default: |
|
|
field |
| select data by field IDs and names, e.g. ’3C2*’ (”=all)
| |
| allowed: | string |
|
| Default: |
|
|
spw |
| select data by spectral window IDs, e.g. ’3,5,7’ (”=all)
| |
| allowed: | string |
|
| Default: |
|
|
timerange |
| select data by time range, e.g. ’09:14:0~09:54:0’ (”=all)
(see examples in help)
| |
| allowed: | string |
|
| Default: |
|
|
scan |
| select data by scan numbers, e.g. ’21~23’ (”=all)
| |
| allowed: | string |
|
| Default: |
|
|
pol |
| select data by polarization IDs, e.g. ’0,1’ (”=all)
| |
| allowed: | string |
|
| Default: |
|
|
intent |
| select data by observational intent, e.g.
’*ON_SOURCE*’ (”=all)
| |
| allowed: | string |
|
| Default: |
|
|
kernel |
| spectral smoothing kernel type
| |
| allowed: | string |
|
| Default: | gaussian |
|
kwidth |
| smoothing kernel width in channel
| |
| allowed: | int |
|
| Default: | 5 |
|
outfile |
| name of output file
| |
| allowed: | string |
|
| Default: |
|
|
overwrite |
| overwrite the output file if already exists
| |
| allowed: | bool |
|
| Default: | False |
|
void
Example
-----------------
Keyword arguments
-----------------
infile -- name of input SD dataset
datacolumn -- name of data column to be used
options: ’data’, ’float_data’, or ’corrected’
default: ’data’
antenna -- select data by antenna name or ID
default: ’’ (use all antennas)
example: ’PM03’
field -- select data by field IDs and names
default: ’’ (use all fields)
example: field=’3C2*’ (all names starting with 3C2)
field=’0,4,5~7’ (field IDs 0,4,5,6,7)
field=’0,3C273’ (field ID 0 or field named 3C273)
this selection is in addition to the other selections to data
spw -- select data by spectral window IDs/channels
default: ’’ (use all spws and channels)
example: spw=’3,5,7’ (spw IDs 3,5,7; all channels)
spw=’<2’ (spw IDs less than 2, i.e., 0,1; all channels)
spw=’30~45GHz’ (spw IDs with the center frequencies in range 30-45GHz; all channels)
spw=’0:5~61’ (spw ID 0; channels 5 to 61; all channels)
spw=’3:10~20;50~60’ (select multiple channel ranges within spw ID 3)
spw=’3:10~20,4:0~30’ (select different channel ranges for spw IDs 3 and 4)
spw=’1~4;6:15~48’ (for channels 15 through 48 for spw IDs 1,2,3,4 and 6)
this selection is in addition to the other selections to data
timerange -- select data by time range
default: ’’ (use all)
example: timerange = ’YYYY/MM/DD/hh:mm:ss~YYYY/MM/DD/hh:mm:ss’
Note: YYYY/MM/DD can be dropped as needed:
timerange=’09:14:00~09:54:00’ # this time range
timerange=’09:44:00’ # data within one integration of time
timerange=’>10:24:00’ # data after this time
timerange=’09:44:00+00:13:00’ #data 13 minutes after time
this selection is in addition to the other selections to data
scan -- select data by scan numbers
default: ’’ (use all scans)
example: scan=’21~23’ (scan IDs 21,22,23)
this selection is in addition to the other selections to data
pol -- select data by polarization IDs
default: ’’ (use all polarizations)
example: pol=’0,1’ (polarization IDs 0,1)
this selection is in addition to the other selections to data
intent -- select data by observational intent, also referred to as ’scan intent’
default: ’’ (use all scan intents)
example: intent=’*ON_SOURCE*’ (any valid scan-intent expression accepted by the MSSelection module can be specified)
this selection is in addition to the other selections to data
kernel -- type of spectral smoothing kernel
options: ’gaussian’, ’boxcar’
default: ’gaussian’ (no smoothing)
>>>kernel expandable parameter
kwidth -- width of spectral smoothing kernel
options: (int) in channels
default: 5
outfile -- name of output file
default: ’’ (<infile>_bs)
overwrite -- overwrite the output file if already exists
options: (bool) True, False
default: False
NOTE this parameter is ignored when outform=’ASCII’
-----------
DESCRIPTION
-----------
Task sdsmooth performs smoothing along spectral axis using user-specified
smoothing kernel. Currently gaussian and boxcar kernels are supported.
More information about CASA may be found at the
CASA web page
Copyright © 2016 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