Logo coherent WaveBurst  
Library Reference Guide
Logo
List of all members | Public Member Functions | Public Attributes | List of all members
WaveRDC Class Reference

Definition at line 36 of file waverdc.hh.

Public Member Functions

 WaveRDC ()
 
virtual ~WaveRDC ()
 
int Compress (const waveShort &)
 
int Compress (const waveDouble &, double)
 
void Dir (int v=1)
 
virtual int DumpRDC (const char *, int=0)
 
size_t getLSW (size_t opt)
 
int getOPTZ ()
 
float getScale (const waveDouble &, double)
 
void getShort (const waveDouble &, waveShort &)
 
void getSign (const waveDouble &, waveShort &)
 
WaveRDCoperator*= (const WaveRDC &x)
 
WaveRDCoperator*= (const unsigned int x)
 
WaveRDCoperator+= (const WaveRDC &)
 
WaveRDCoperator+= (const unsigned int x)
 
WaveRDCoperator-= (const WaveRDC &x)
 
WaveRDCoperator-= (const unsigned int x)
 
WaveRDCoperator= (const WaveRDC &)
 
WaveRDCoperator= (const unsigned int x)
 
int Pop (int *, int, int &, int, int)
 
void Pop (unsigned int &, int &, int)
 
int Push (short *, int, unsigned int *, int &, int, int)
 
void Push (unsigned int &, unsigned int *, int &, int)
 
int unCompress (waveFloat &, int level=1)
 
int unCompress (waveDouble &, int level=1)
 
int unCompress (wavearray< int > &, int level=1)
 
int wabs (int i)
 
short wabs (short i)
 
int wint (double a)
 
- Public Member Functions inherited from wavearray< unsigned int >
 wavearray (int)
 
 wavearray ()
 
 wavearray (const wavearray< unsigned int > &)
 
 wavearray (const T *, unsigned int, double=0.)
 
virtual ~wavearray ()
 
void add (const wavearray< unsigned int > &, int=0, int=0, int=0)
 
size_t append (const wavearray< unsigned int > &)
 
size_t append (unsigned int)
 
virtual void Browse (TBrowser *b)
 
void cpf (const wavearray< unsigned int > &, 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)
 
unsigned int get (size_t i)
 
unsigned int 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< unsigned int > &) const
 
virtual void lprFilter (wavearray< double > &)
 
virtual void lprFilter (double, int=0, double=0., double=0., int=0)
 
virtual unsigned int max () const
 
virtual void max (wavearray< unsigned int > &)
 
virtual double mean () const
 
virtual double mean (double f)
 
virtual double mean (const std::slice &)
 
virtual void mean (double t, wavearray< unsigned int > *in, bool fl=false, size_t n=1)
 
virtual double median (size_t=0, size_t=0) const
 
virtual void median (double t, wavearray< unsigned int > *in, bool fl=false, size_t n=1)
 
virtual unsigned int min () const
 
virtual wavearray< unsigned int > & operator*= (wavearray< unsigned int > &)
 
virtual wavearray< unsigned int > & operator+= (wavearray< unsigned int > &)
 
virtual wavearray< unsigned int > & operator-= (wavearray< unsigned int > &)
 
virtual wavearray< unsigned int > & operator<< (wavearray< unsigned int > &)
 
wavearray< unsigned int > & operator= (const wavearray< unsigned int > &)
 
wavearray< unsigned int > & operator= (const unsigned int)
 
virtual char * operator>> (char *)
 
virtual wavearray< unsigned int > & operator[] (const std::slice &)
 
virtual unsigned intoperator[] (const unsigned int)
 
void print ()
 
long rand48 (long k=1024)
 
unsigned int 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< unsigned int > &, double, int=6)
 
void resample (const wavearray< unsigned int > &, 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< unsigned int > *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< unsigned int > &, int)
 
double Stack (const wavearray< unsigned int > &, int, int)
 
double Stack (const wavearray< unsigned int > &, double)
 
virtual void start (double s)
 
virtual double start () const
 
virtual void stop (double s)
 
virtual double stop () const
 
void sub (const wavearray< unsigned int > &, int=0, int=0, int=0)
 
long uniform ()
 
size_t wavecount (double x, int n=0)
 
virtual void waveSort (unsigned int **pp, size_t l=0, size_t r=0) const
 
virtual void waveSort (size_t l=0, size_t r=0)
 
virtual void waveSplit (unsigned int **pp, size_t l, size_t r, size_t m) const
 
virtual unsigned int 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
 

Public Attributes

short Bias
 
int freebits
 
int kBSW
 
int kLong
 
int kShort
 
int nLayer
 
int nSample
 
int optz
 
float rmsLimit
 
float Scale
 
short Zero
 
- Public Attributes inherited from wavearray< unsigned int >
unsigned intdata
 
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
 

Additional Inherited Members

- Static Public Member Functions inherited from wavearray< unsigned int >
static int compare (const void *x, const void *y)
 pointer to inverse fftw object More...
 

#include <waverdc.hh>

Inheritance diagram for WaveRDC:
[legend]

Constructor & Destructor Documentation

◆ WaveRDC()

WaveRDC::WaveRDC ( )

Definition at line 30 of file waverdc.cc.

◆ ~WaveRDC()

WaveRDC::~WaveRDC ( )
virtual

Definition at line 38 of file waverdc.cc.

Member Function Documentation

◆ Compress() [1/2]

int WaveRDC::Compress ( const waveShort S)

Definition at line 345 of file waverdc.cc.

◆ Compress() [2/2]

int WaveRDC::Compress ( const waveDouble F,
double  loss 
)

Definition at line 329 of file waverdc.cc.

◆ Dir()

void WaveRDC::Dir ( int  v = 1)

Definition at line 44 of file waverdc.cc.

◆ DumpRDC()

int WaveRDC::DumpRDC ( const char *  fname,
int  app = 0 
)
virtual

Definition at line 168 of file waverdc.cc.

◆ getLSW()

size_t WaveRDC::getLSW ( size_t  opt)
inline

Definition at line 99 of file waverdc.hh.

◆ getOPTZ()

int WaveRDC::getOPTZ ( )
inline

Definition at line 94 of file waverdc.hh.

◆ getScale()

float WaveRDC::getScale ( const waveDouble F,
double  loss 
)

Definition at line 186 of file waverdc.cc.

◆ getShort()

void WaveRDC::getShort ( const waveDouble F,
waveShort S 
)

Definition at line 256 of file waverdc.cc.

◆ getSign()

void WaveRDC::getSign ( const waveDouble F,
waveShort S 
)

Definition at line 304 of file waverdc.cc.

◆ operator*=() [1/2]

WaveRDC& WaveRDC::operator*= ( const WaveRDC x)
inline

Definition at line 53 of file waverdc.hh.

◆ operator*=() [2/2]

WaveRDC& WaveRDC::operator*= ( const unsigned int  x)
inlinevirtual

Reimplemented from wavearray< unsigned int >.

Definition at line 57 of file waverdc.hh.

◆ operator+=() [1/2]

WaveRDC & WaveRDC::operator+= ( const WaveRDC a)

Definition at line 142 of file waverdc.cc.

◆ operator+=() [2/2]

WaveRDC& WaveRDC::operator+= ( const unsigned int  x)
inlinevirtual

Reimplemented from wavearray< unsigned int >.

Definition at line 55 of file waverdc.hh.

◆ operator-=() [1/2]

WaveRDC& WaveRDC::operator-= ( const WaveRDC x)
inline

Definition at line 52 of file waverdc.hh.

◆ operator-=() [2/2]

WaveRDC& WaveRDC::operator-= ( const unsigned int  x)
inlinevirtual

Reimplemented from wavearray< unsigned int >.

Definition at line 56 of file waverdc.hh.

◆ operator=() [1/2]

WaveRDC & WaveRDC::operator= ( const WaveRDC a)

Definition at line 129 of file waverdc.cc.

◆ operator=() [2/2]

WaveRDC& WaveRDC::operator= ( const unsigned int  x)
inline

Definition at line 54 of file waverdc.hh.

◆ Pop() [1/2]

int WaveRDC::Pop ( int pw,
int  j,
int ncd,
int  k,
int  n 
)

Definition at line 790 of file waverdc.cc.

◆ Pop() [2/2]

void WaveRDC::Pop ( unsigned int u,
int ncd,
int  k 
)

Definition at line 767 of file waverdc.cc.

◆ Push() [1/2]

int WaveRDC::Push ( short *  dt,
int  j,
unsigned int cd,
int ncd,
int  k,
int  n 
)

Definition at line 555 of file waverdc.cc.

◆ Push() [2/2]

void WaveRDC::Push ( unsigned int u,
unsigned int cd,
int ncd,
int  k 
)

Definition at line 582 of file waverdc.cc.

◆ unCompress() [1/3]

int WaveRDC::unCompress ( waveFloat w,
int  level = 1 
)

Definition at line 617 of file waverdc.cc.

◆ unCompress() [2/3]

int WaveRDC::unCompress ( waveDouble w,
int  level = 1 
)

Definition at line 608 of file waverdc.cc.

◆ unCompress() [3/3]

int WaveRDC::unCompress ( wavearray< int > &  w,
int  level = 1 
)

Definition at line 627 of file waverdc.cc.

◆ wabs() [1/2]

int WaveRDC::wabs ( int  i)
inline

Definition at line 95 of file waverdc.hh.

◆ wabs() [2/2]

short WaveRDC::wabs ( short  i)
inline

Definition at line 96 of file waverdc.hh.

◆ wint()

int WaveRDC::wint ( double  a)
inline

Definition at line 97 of file waverdc.hh.

Member Data Documentation

◆ Bias

short WaveRDC::Bias

Definition at line 82 of file waverdc.hh.

◆ freebits

int WaveRDC::freebits

Definition at line 78 of file waverdc.hh.

◆ kBSW

int WaveRDC::kBSW

Definition at line 81 of file waverdc.hh.

◆ kLong

int WaveRDC::kLong

Definition at line 79 of file waverdc.hh.

◆ kShort

int WaveRDC::kShort

Definition at line 80 of file waverdc.hh.

◆ nLayer

int WaveRDC::nLayer

Definition at line 41 of file waverdc.hh.

◆ nSample

int WaveRDC::nSample

Definition at line 40 of file waverdc.hh.

◆ optz

int WaveRDC::optz

Definition at line 42 of file waverdc.hh.

◆ rmsLimit

float WaveRDC::rmsLimit

Definition at line 85 of file waverdc.hh.

◆ Scale

float WaveRDC::Scale

Definition at line 84 of file waverdc.hh.

◆ Zero

short WaveRDC::Zero

Definition at line 83 of file waverdc.hh.


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