![]()
|
|||
|
|
|||
| NRAO Home > CASA > CasaRef |
|
||
1.2.1 Differentiate or difference the internal buffer.
Description
Subtract the previous point from each data point in the buffer (for window
equal 2), or subtract the average over a window (for window greater than 2)
from each point. The window can be in the time / row direction or the
frequency / channel direction. The input data can be float or complex but the
output is always float. The function returns statistics over the buffer: median
for each time and channel, the average absolute deviation from the median in
time and channel direction and over all pixels.
Arguments
| Inputs |
| ||
| direction |
| choose between time or channel direction: TIME or
CHANNEL | |
| allowed: | string |
|
| Default: |
|
|
| window |
| width of averaging window in timeslots or channels;
integer greater than 0
| |
| allowed: | int |
|
| Default: |
|
|
Example
We open the MS for reading, select a subset and then read the DATA, FLAG and FLAG_ROW column, we then subtract the average over a 15 point time-window from each data point.
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.