casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions
casa::MSSelUtil< T > Class Template Reference

Helper class for MSFlagger with templated static function. More...

#include <MSSelUtil.h>

List of all members.

Static Public Member Functions

static Array< FloatdiffData (const Array< T > &data, const Array< Bool > &flag, const Array< Bool > &flagRow, Int diffAxis, Int window, Bool doMedian=False)
 Compute the absolute difference of the data, subtracting either the previous value (window==2) or the average over the window (window>2).

Detailed Description

template<class T>
class casa::MSSelUtil< T >

Helper class for MSFlagger with templated static function.

Intended use:

Internal

Synopsis

Helper class for MSFlagger/DOms with templated static function to difference data in one of two directions.

Definition at line 47 of file MSSelUtil.h.


Member Function Documentation

template<class T >
static Array<Float> casa::MSSelUtil< T >::diffData ( const Array< T > &  data,
const Array< Bool > &  flag,
const Array< Bool > &  flagRow,
Int  diffAxis,
Int  window,
Bool  doMedian = False 
) [static]

Compute the absolute difference of the data, subtracting either the previous value (window==2) or the average over the window (window>2).

If doMedian==True is specified, the median difference over the window is returned for window>2. Takes flagging into account. diffAxis==2,3: row or time, diffAxis==1: channel Handles 3d and 4d data arrays.


The documentation for this class was generated from the following file: