Logo coherent WaveBurst  
Library Reference Guide
Logo
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
gwavearray< DataType_t > Class Template Reference

template<class DataType_t>
class gwavearray< DataType_t >

Definition at line 40 of file gwavearray.hh.

Public Member Functions

 gwavearray ()
 
 gwavearray (const wavearray< DataType_t > &)
 
 gwavearray (const wavearray< DataType_t > *)
 
virtual ~gwavearray ()
 
virtual void Browse (TBrowser *b)
 
void Draw (GWAT_DRAW type=GWAT_TIME, TString options="ALP", Color_t color=kBlack)
 
void Draw (wavearray< DataType_t > *x, GWAT_DRAW type=GWAT_TIME, TString options="ALP", Color_t color=kBlack)
 
watplotDrawFFT (TString options="ALP", Color_t color=kBlack)
 
watplotDrawFFT (wavearray< DataType_t > *x, TString options="ALP", Color_t color=kBlack)
 
CWB::STFTDrawTF (TString options="")
 
CWB::STFTDrawTF (wavearray< DataType_t > *x, TString options="")
 
watplotDrawTime (TString options="ALP", Color_t color=kBlack)
 
watplotDrawTime (wavearray< DataType_t > *x, TString options="ALP", Color_t color=kBlack)
 
void DumpToFile (char *fname)
 
double GetCentralTime ()
 
TString GetComment ()
 
CWB::STFTGetSTFT ()
 
double GetTimeRange (double &tMin, double &tMax, double efraction=0.9999999)
 
watplotGetWATPLOT ()
 
void PhaseShift (double pShift=0.)
 
void PlotFFT (double edge=0)
 
void PlotPSD (double edge=0)
 
void PlotTF (double edge=0)
 
void PlotTime (double edge=0)
 
void PrintComment ()
 
void PrintParameters ()
 
void SetComment (TString comment)
 
void SetTimeRange (double tMin, double tMax)
 
void SetWATPLOT (watplot *pts)
 
void TimeShift (double tShift=0.)
 
- Public Member Functions inherited from wavearray< DataType_t >
 wavearray (int)
 
 wavearray ()
 
 wavearray (const wavearray< DataType_t > &)
 
template<class T >
 wavearray (const T *, unsigned int, double=0.)
 
virtual ~wavearray ()
 
void add (const wavearray< DataType_t > &, int=0, int=0, int=0)
 
size_t append (const wavearray< DataType_t > &)
 
size_t append (DataType_t)
 
void cpf (const wavearray< DataType_t > &, int=0, int=0, int=0)
 
virtual void delay (double T)
 
virtual void Dump (const char *, int=0)
 
virtual void DumpBinary (const char *, int=0)
 
virtual void DumpObject (const char *)
 
virtual void DumpShort (const char *, int=0)
 
virtual void edge (double s)
 
virtual double edge () const
 
virtual void exponential (double)
 
virtual void FFT (int=1)
 
virtual void FFTW (int=1)
 
DataType_t get (size_t i)
 
DataType_t get (double t, double dt=0.)
 
virtual wavearray< double > getLPRFilter (int, int=0, int=0)
 
virtual int getSampleRank (size_t n, size_t l, size_t r) const
 
virtual int getSampleRankE (size_t n, size_t l, size_t r) const
 
virtual std::slice getSlice () const
 
double getStatistics (double &mean, double &rms) const
 
void hann (void)
 
virtual size_t limit () const
 
virtual size_t limit (const std::slice &) const
 
virtual size_t limit (const wavearray< DataType_t > &) const
 
virtual void lprFilter (wavearray< double > &)
 
virtual void lprFilter (double, int=0, double=0., double=0., int=0)
 
virtual DataType_t max () const
 
virtual void max (wavearray< DataType_t > &)
 
virtual double mean () const
 
virtual double mean (double f)
 
virtual double mean (const std::slice &)
 
virtual void mean (double t, wavearray< DataType_t > *in, bool fl=false, size_t n=1)
 
virtual double median (size_t=0, size_t=0) const
 
virtual void median (double t, wavearray< DataType_t > *in, bool fl=false, size_t n=1)
 
virtual DataType_t min () const
 
virtual wavearray< DataType_t > & operator*= (wavearray< DataType_t > &)
 
virtual wavearray< DataType_t > & operator*= (const DataType_t)
 
virtual wavearray< DataType_t > & operator+= (wavearray< DataType_t > &)
 
virtual wavearray< DataType_t > & operator+= (const DataType_t)
 
virtual wavearray< DataType_t > & operator-= (wavearray< DataType_t > &)
 
virtual wavearray< DataType_t > & operator-= (const DataType_t)
 
virtual wavearray< DataType_t > & operator<< (wavearray< DataType_t > &)
 
wavearray< DataType_t > & operator= (const wavearray< DataType_t > &)
 
wavearray< DataType_t > & operator= (const DataType_t)
 
virtual char * operator>> (char *)
 
virtual wavearray< DataType_t > & operator[] (const std::slice &)
 
virtual DataType_t & operator[] (const unsigned int)
 
void print ()
 
long rand48 (long k=1024)
 
DataType_t rank (double=0.5) const
 
virtual void rate (double r)
 
virtual double rate () const
 
virtual void ReadBinary (const char *, int=0)
 
virtual void ReadShort (const char *)
 
void Resample (const wavearray< DataType_t > &, double, int=6)
 
void resample (const wavearray< DataType_t > &, double, int=6)
 
virtual void resample (double, int=6)
 
virtual void Resample (double)
 
virtual void resetFFTW ()
 
virtual void resize (unsigned int)
 
virtual double rms ()
 
virtual double rms (const std::slice &)
 
virtual void rms (double t, wavearray< DataType_t > *in, bool fl=false, size_t n=1)
 
virtual void setSlice (const std::slice &s)
 
virtual size_t size () const
 
virtual void spesla (double, double, double=0.)
 
virtual void SQRT ()
 
double Stack (const wavearray< DataType_t > &, int)
 
double Stack (const wavearray< DataType_t > &, int, int)
 
double Stack (const wavearray< DataType_t > &, double)
 
virtual void start (double s)
 
virtual double start () const
 
virtual void stop (double s)
 
virtual double stop () const
 
void sub (const wavearray< DataType_t > &, int=0, int=0, int=0)
 
long uniform ()
 
size_t wavecount (double x, int n=0)
 
virtual void waveSort (DataType_t **pp, size_t l=0, size_t r=0) const
 
virtual void waveSort (size_t l=0, size_t r=0)
 
virtual void waveSplit (DataType_t **pp, size_t l, size_t r, size_t m) const
 
virtual DataType_t waveSplit (size_t l, size_t r, size_t m)
 
virtual void waveSplit (size_t m)
 
virtual wavearray< double > white (double, int=0, double=0., double=0.) const
 

Private Member Functions

void Init ()
 

Private Attributes

TString comment
 
watplotpts
 
CWB::STFTstft
 
double tMax
 
double tMin
 
double tSave
 
bool wextern
 

Additional Inherited Members

- Static Public Member Functions inherited from wavearray< DataType_t >
static int compare (const void *x, const void *y)
 pointer to inverse fftw object More...
 
- Public Attributes inherited from wavearray< DataType_t >
DataType_t * data
 
double Edge
 
TFFTRealComplex * fftw
 
TFFTComplexReal * ifftw
 pointer to direct fftw object More...
 
double Rate
 
size_t Size
 data array More...
 
std::slice Slice
 
double Start
 
double Stop
 

#include <gwavearray.hh>

Inheritance diagram for gwavearray< DataType_t >:
[legend]

Constructor & Destructor Documentation

◆ gwavearray() [1/3]

template<class DataType_t>
gwavearray< DataType_t >::gwavearray ( )
inline

Definition at line 44 of file gwavearray.hh.

◆ gwavearray() [2/3]

template<class DataType_t >
gwavearray< DataType_t >::gwavearray ( const wavearray< DataType_t > &  w)

Definition at line 58 of file gwavearray.cc.

◆ gwavearray() [3/3]

template<class DataType_t >
gwavearray< DataType_t >::gwavearray ( const wavearray< DataType_t > *  w)

Definition at line 63 of file gwavearray.cc.

◆ ~gwavearray()

template<class DataType_t >
gwavearray< DataType_t >::~gwavearray ( )
virtual

Definition at line 48 of file gwavearray.cc.

Member Function Documentation

◆ Browse()

template<class DataType_t>
virtual void gwavearray< DataType_t >::Browse ( TBrowser *  b)
inlinevirtual

Reimplemented from wavearray< DataType_t >.

Definition at line 92 of file gwavearray.hh.

◆ Draw() [1/2]

template<class DataType_t >
void gwavearray< DataType_t >::Draw ( GWAT_DRAW  type = GWAT_TIME,
TString  options = "ALP",
Color_t  color = kBlack 
)

Definition at line 89 of file gwavearray.cc.

◆ Draw() [2/2]

template<class DataType_t >
void gwavearray< DataType_t >::Draw ( wavearray< DataType_t > *  x,
GWAT_DRAW  type = GWAT_TIME,
TString  options = "ALP",
Color_t  color = kBlack 
)

Definition at line 104 of file gwavearray.cc.

◆ DrawFFT() [1/2]

template<class DataType_t >
watplot * gwavearray< DataType_t >::DrawFFT ( TString  options = "ALP",
Color_t  color = kBlack 
)

Definition at line 203 of file gwavearray.cc.

◆ DrawFFT() [2/2]

template<class DataType_t >
watplot * gwavearray< DataType_t >::DrawFFT ( wavearray< DataType_t > *  x,
TString  options = "ALP",
Color_t  color = kBlack 
)

Definition at line 221 of file gwavearray.cc.

◆ DrawTF() [1/2]

template<class DataType_t >
CWB::STFT * gwavearray< DataType_t >::DrawTF ( TString  options = "")

Definition at line 291 of file gwavearray.cc.

◆ DrawTF() [2/2]

template<class DataType_t >
CWB::STFT * gwavearray< DataType_t >::DrawTF ( wavearray< DataType_t > *  x,
TString  options = "" 
)

Definition at line 307 of file gwavearray.cc.

◆ DrawTime() [1/2]

template<class DataType_t >
watplot * gwavearray< DataType_t >::DrawTime ( TString  options = "ALP",
Color_t  color = kBlack 
)

Definition at line 124 of file gwavearray.cc.

◆ DrawTime() [2/2]

template<class DataType_t >
watplot * gwavearray< DataType_t >::DrawTime ( wavearray< DataType_t > *  x,
TString  options = "ALP",
Color_t  color = kBlack 
)

Definition at line 140 of file gwavearray.cc.

◆ DumpToFile()

template<class DataType_t >
void gwavearray< DataType_t >::DumpToFile ( char *  fname)

Definition at line 526 of file gwavearray.cc.

◆ GetCentralTime()

template<class DataType_t >
double gwavearray< DataType_t >::GetCentralTime ( )

Definition at line 402 of file gwavearray.cc.

◆ GetComment()

template<class DataType_t>
TString gwavearray< DataType_t >::GetComment ( )
inline

Definition at line 96 of file gwavearray.hh.

◆ GetSTFT()

template<class DataType_t>
CWB::STFT* gwavearray< DataType_t >::GetSTFT ( )
inline

Definition at line 87 of file gwavearray.hh.

◆ GetTimeRange()

template<class DataType_t >
double gwavearray< DataType_t >::GetTimeRange ( double &  tMin,
double &  tMax,
double  efraction = 0.9999999 
)

Definition at line 359 of file gwavearray.cc.

◆ GetWATPLOT()

template<class DataType_t>
watplot* gwavearray< DataType_t >::GetWATPLOT ( )
inline

Definition at line 88 of file gwavearray.hh.

◆ Init()

template<class DataType_t >
void gwavearray< DataType_t >::Init ( )
private

Definition at line 78 of file gwavearray.cc.

◆ PhaseShift()

template<class DataType_t >
void gwavearray< DataType_t >::PhaseShift ( double  pShift = 0.)

Definition at line 478 of file gwavearray.cc.

◆ PlotFFT()

template<class DataType_t>
void gwavearray< DataType_t >::PlotFFT ( double  edge = 0)
inline

Definition at line 56 of file gwavearray.hh.

◆ PlotPSD()

template<class DataType_t>
void gwavearray< DataType_t >::PlotPSD ( double  edge = 0)
inline

Definition at line 59 of file gwavearray.hh.

◆ PlotTF()

template<class DataType_t>
void gwavearray< DataType_t >::PlotTF ( double  edge = 0)
inline

Definition at line 62 of file gwavearray.hh.

◆ PlotTime()

template<class DataType_t>
void gwavearray< DataType_t >::PlotTime ( double  edge = 0)
inline

Definition at line 53 of file gwavearray.hh.

◆ PrintComment()

template<class DataType_t>
void gwavearray< DataType_t >::PrintComment ( )
inline

Definition at line 97 of file gwavearray.hh.

◆ PrintParameters()

template<class DataType_t>
void gwavearray< DataType_t >::PrintParameters ( )
inline

Definition at line 91 of file gwavearray.hh.

◆ SetComment()

template<class DataType_t>
void gwavearray< DataType_t >::SetComment ( TString  comment)
inline

Definition at line 95 of file gwavearray.hh.

◆ SetTimeRange()

template<class DataType_t>
void gwavearray< DataType_t >::SetTimeRange ( double  tMin,
double  tMax 
)
inline

Definition at line 75 of file gwavearray.hh.

◆ SetWATPLOT()

template<class DataType_t>
void gwavearray< DataType_t >::SetWATPLOT ( watplot pts)
inline

Definition at line 93 of file gwavearray.hh.

◆ TimeShift()

template<class DataType_t >
void gwavearray< DataType_t >::TimeShift ( double  tShift = 0.)

Definition at line 427 of file gwavearray.cc.

Member Data Documentation

◆ comment

template<class DataType_t>
TString gwavearray< DataType_t >::comment
private

Definition at line 110 of file gwavearray.hh.

◆ pts

template<class DataType_t>
watplot* gwavearray< DataType_t >::pts
private

Definition at line 104 of file gwavearray.hh.

◆ stft

template<class DataType_t>
CWB::STFT* gwavearray< DataType_t >::stft
private

Definition at line 103 of file gwavearray.hh.

◆ tMax

template<class DataType_t>
double gwavearray< DataType_t >::tMax
private

Definition at line 113 of file gwavearray.hh.

◆ tMin

template<class DataType_t>
double gwavearray< DataType_t >::tMin
private

Definition at line 112 of file gwavearray.hh.

◆ tSave

template<class DataType_t>
double gwavearray< DataType_t >::tSave
private

Definition at line 114 of file gwavearray.hh.

◆ wextern

template<class DataType_t>
bool gwavearray< DataType_t >::wextern
private

Definition at line 108 of file gwavearray.hh.


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