NRAO Home > CASA > CASA Toolkit Reference Manual
sd.scantable.fft - Function

5.1.2 Apply FFT to the spectra
Description

Apply FFT to the spectra.

Flagged data in the scantable get interpolated over the region. An optional channel mask specified by mask parameter is applied to all specified rows if it is given as one dimensional array.

It returns a list of dictionaries containing the results for each spectrum. Each dictionary contains two values, the real and the imaginary parts when getrealimag = True, or the amplitude(absolute value) and the phase(argument) when getrealimag = False. The key for these values are ’real’ and ’imag’, or ’ampl’ and ’phase’, respectively.

Arguments





Inputs

rowno

Row number(s) to be processed.

allowed:

integet, integer list or tuple

Default:

[] (apply to whole data)

mask

An optional channel mask

allowed:

bool array

Default:

[]

getrealimag

If True, return real and imaginary part instead of amplitude and phase

allowed:

bool

Default:

False (return amplitude and phase)





Returns
dictionary

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