NRAO Home > CASA > CASA Toolkit Reference Manual
ms.cvel - Function

1.3.1 transform spectral data to different reference frame and/or regrid the frequency channels


Description

This function permits you to transform the spectral data of your measurement set to a given reference frame and/or regrid it. It will combine all spectral windows of the MS into one.

Arguments





Inputs

mode

”channel”, ”velocity”, ”frequency”, or ”channel_b”, default = ”channel”

allowed:

string

Default:

channel

nchan

number of channels, default = -1 = all

allowed:

int

Default:

-1

start

start channel, default = 0

allowed:

any

Default:

variant 0

width

new channel width, default = 1

allowed:

any

Default:

variant 1

interp

interpolation method ”nearest”, ”linear”, ”spline”, ”cubic”, ”fftshift”, default = linear

allowed:

string

Default:

linear

phasec

phase center, default = first field

allowed:

any

Default:

variant

restfreq

rest frequency, default = 1.4GHz

allowed:

any

Default:

variant 1.4GHz

outframe

LSRK, LSRD, BARY, GALACTO, LGROUP, CMB, GEO, TOPO, or SOURCE default = ”” = keep reference frame.

allowed:

string

Default:

veltype

radio or optical, default = radio

allowed:

string

Default:

radio

hanning

If true, perform hanning smoothing before regridding.

allowed:

bool

Default:

true

Returns
bool

Example

 

__________________________________________________________________


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