casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
casacore::MSSelUtil2< T > Class Template Reference

#include <MSSelUtil2.h>

Static Public Member Functions

static void reorderData (Array< T > &data, const Vector< Int > &ifrSlot, Int nIfr, const Vector< Int > &timeSlot, Int nTime, const T &defvalue)
 reorder data from 3d (corr,chan,row) to 4d (corr,chan,ifr,time) More...
 
static void reorderData (Array< T > &data, const Matrix< Int > &rowIndex, Int nRow)
 reorder data from 4d (corr,chan,ifr,time) to 3d (corr,chan,row) More...
 
static void timeAverage (Array< Bool > &dataFlag, Array< T > &data, const Array< Bool > &flag, const Array< Float > &weight)
 average data (with flags & weights applied) over it's last axis (time or row), return in data (overwritten), dataFlag gives new flags. More...
 

Detailed Description

template<class T>
class casacore::MSSelUtil2< T >

Definition at line 37 of file MSSelUtil2.h.

Member Function Documentation

template<class T >
static void casacore::MSSelUtil2< T >::reorderData ( Array< T > &  data,
const Vector< Int > &  ifrSlot,
Int  nIfr,
const Vector< Int > &  timeSlot,
Int  nTime,
const T &  defvalue 
)
static

reorder data from 3d (corr,chan,row) to 4d (corr,chan,ifr,time)

template<class T >
static void casacore::MSSelUtil2< T >::reorderData ( Array< T > &  data,
const Matrix< Int > &  rowIndex,
Int  nRow 
)
static

reorder data from 4d (corr,chan,ifr,time) to 3d (corr,chan,row)

template<class T >
static void casacore::MSSelUtil2< T >::timeAverage ( Array< Bool > &  dataFlag,
Array< T > &  data,
const Array< Bool > &  flag,
const Array< Float > &  weight 
)
static

average data (with flags & weights applied) over it's last axis (time or row), return in data (overwritten), dataFlag gives new flags.


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