Definition at line 19 of file sseries.hh.
Public Member Functions | |
SSeries () | |
SSeries (const Wavelet &w) | |
SSeries (const wavearray< DataType_t > &value, const Wavelet &w) | |
SSeries (const WSeries< DataType_t > &value) | |
virtual | ~SSeries () |
void | AddCore (size_t ifoID, netcluster *pwc, int ID=0) |
int | binarySearch (int array[], int start, int end, int key) |
int | binarySearch (int array[], int size, int key) |
void | CheckWaveletType (TString method) |
void | Clean () |
short | Core (int slice, int layer) |
short | Core (int index) |
void | Expand (bool bcore=true) |
float | GetFreqResolution () |
double | GetHaloDelay () |
int | GetHaloLayer () |
int | GetHaloSlice (bool eslice=false) |
int | GetLayer (int index) |
int | GetLayers () |
float | GetMap00 (int index) |
float | GetMap00 (int slice, int layer) |
float | GetMap90 (int index) |
float | GetMap90 (int slice, int layer) |
int | GetSlice (int index) |
int | GetSlices () |
wavearray< int > | GetSparseIndex (bool bcore=true) |
int | GetSparseSize (bool bcore=true) |
bool | GetSTFdata (int index, SymmArraySSE< float > *pS) |
float | GetTimeResolution () |
void | Init (WSeries< DataType_t > *pws=NULL, bool reset=true) |
void | ResetSparseTable () |
void | SetHalo (double maxTau=0.042, int lHalo=1, int tHalo=-1) |
void | SetMap (WSeries< DataType_t > *pws) |
void | SetMap00 (int index, DataType_t value) |
void | SetMap00 (int slice, int layer, DataType_t value) |
void | SetMap90 (int index, DataType_t value) |
void | SetMap90 (int slice, int layer, DataType_t value) |
void | Shrink () |
void | UpdateSparseTable () |
![]() | |
WSeries () | |
WSeries (const Wavelet &w) | |
WSeries (const wavearray< DataType_t > &value, const Wavelet &w) | |
param: value - data to initialize the WSeries object More... | |
WSeries (const WSeries< DataType_t > &value) | |
param: value - object to copy from More... | |
virtual | ~WSeries () |
void | bandpass (wavearray< DataType_t > &ts, double flow, double fhigh, int n=-1) |
void | bandpass (double flow, double fhigh, double a=0.) |
virtual void | Browse (TBrowser *b) |
virtual WSeries< double > | calibrate (size_t, double, d_complex *, d_complex *, wavearray< double > &, wavearray< double > &, size_t ch=0) |
param: number of samples in calibration arrays R & C param: frequency resolution param: pointer to response function R in Fourier domain param: pointer to sensing function C in Fourier domain param: time dependent calibration coefficient alpha param: time dependent calibration coefficient gamma param: 0/1 - AS_Q/DARM_ERR calibration, by default is 0 return array with calibration constants for each wavelet layer More... | |
virtual double | coincidence (WSeries< DataType_t > &, int=0, int=0, double=0.) |
param: WSeries object used for coincidence param: coincidence window in seconds return pixel occupancy More... | |
virtual double | Coincidence (WSeries< DataType_t > &, double=0., double=0.) |
param: WSeries object used for coincidence param: coincidence window in seconds param: threshold on significance return pixel occupancy More... | |
virtual void | Dump (const char *, int=0) |
virtual wavearray< double > | filter (size_t) |
param: n - number of decomposition steps algorithm: 1) do forward wavelet transform with n decomposition steps 2) whiten wavelet layers and calculate noise rms as 1/Sum(1/var) 3) do inverse wavelet transform with n reconstruction steps More... | |
void | Forward (int n=-1) |
param: wavelet - n is number of steps (-1 means full decomposition) More... | |
void | Forward (wavearray< DataType_t > &, int n=-1) |
void | Forward (wavearray< DataType_t > &, Wavelet &, int n=-1) |
virtual double | fraction (double=0., double=0., int=0) |
param: t - sub interval duration. If can not divide on integer More... | |
double | frequency (int l) |
double | Gamma2Gauss (TH1F *=NULL) |
double | getbpp () const |
double | gethigh () const |
int | getLayer (wavearray< DataType_t > &w, double n) |
param: n - layer number More... | |
int | getLevel () |
double | getlow () const |
int | getMaxLevel () |
DataType_t | getSample (int n, double m) |
std::slice | getSlice (double n) |
virtual double | gSignificance (double, double=1., double=0.) |
param: T - sliding window duration in seconds param: f - black pixel fraction param: t - sliding step in seconds options: f = 0 - returns black pixel occupancy options: t = 0 - sliding step = wavelet time resolution. More... | |
void | Inverse (int n=-1) |
param: n - number of steps (-1 means full reconstruction) More... | |
bool | isWDM () |
int | layer (double f) |
virtual void | lprFilter (double, int=0, double=0., double=0.) |
double | maxEnergy (wavearray< DataType_t > &ts, Wavelet &w, double=0, int=1, int=0, TH1F *=NULL) |
size_t | maxIndex () |
int | maxLayer () |
virtual void | median (double t, bool norm=false) |
void | mul (WSeries< DataType_t > &) |
virtual WSeries< DataType_t > & | operator*= (WSeries< DataType_t > &) |
virtual WSeries< DataType_t > & | operator*= (wavearray< DataType_t > &) |
virtual WSeries< DataType_t > & | operator*= (const DataType_t) |
virtual WSeries< DataType_t > & | operator+= (WSeries< DataType_t > &) |
virtual WSeries< DataType_t > & | operator+= (wavearray< DataType_t > &) |
virtual WSeries< DataType_t > & | operator+= (const DataType_t) |
virtual WSeries< DataType_t > & | operator-= (WSeries< DataType_t > &) |
virtual WSeries< DataType_t > & | operator-= (wavearray< DataType_t > &) |
virtual WSeries< DataType_t > & | operator-= (const DataType_t) |
WSeries< DataType_t > & | operator= (const wavearray< DataType_t > &) |
WSeries< DataType_t > & | operator= (const WSeries< DataType_t > &) |
WSeries< DataType_t > & | operator= (const DataType_t) |
virtual WSeries< DataType_t > & | operator[] (const std::slice &) |
virtual double | percentile (double=0., int=0, WSeries< DataType_t > *=NULL) |
param: f - black pixel fraction param: m - mode options: f = 0 - returns black pixel occupancy m = 1 - set threshold f, returns percentile amplitudes m =-1 - set threshold f, returns wavelet amplitudes m > 1 - random policy,returns percentile amplitudes m <-1 - random policy,returns wavelet amplitudes m = 0 - random pixel selection if m<0 return wavelet amplitudes instead of the percentile amplitude More... | |
virtual double | pixclean (double=0.) |
param: S - threshold on pixel significance return pixel occupancy. More... | |
void | print () |
param: int n if n<0, zero pixels defined in mask (regression) if n>=0, zero all pixels except ones defined in the mask param: bool - if true, set WSeries data to be positive if pMask.size()=0, mask(0,true) is equivalent to abs(data) return core pixel occupancy More... | |
void | putLayer (wavearray< DataType_t > &, double n) |
param: n - layer number More... | |
void | putSample (DataType_t a, int n, double m) |
virtual void | resample (double, int=6) |
virtual void | resize (unsigned int) |
double | resolution (int=0) |
virtual double | rsignificance (size_t=0, double=1.) |
param: n - sub-interval duration in domain units param: f - black pixel fraction options: f = 0 - returns black pixel occupancy More... | |
virtual double | rSignificance (double, double=1., double=0.) |
param: T - sliding window duration in seconds param: f - black pixel fraction param: t - sliding step in seconds options: f = 0 - returns black pixel occupancy options: t = 0 - sliding step = wavelet time resolution. More... | |
void | setbpp (double f) |
void | sethigh (double f) |
void | setLevel (size_t n) |
void | setlow (double f) |
void | setWavelet (const Wavelet &w) |
virtual double | significance (double, double=1.) |
param: n - sub-interval duration in seconds param: f - black pixel fraction options: f = 0 - returns black pixel occupancy More... | |
size_t | sizeZero () |
virtual WSeries< float > | variability (double=0., double=-1., double=-1.) |
param: first - time window to calculate normalization constants second - low frequency boundary for correction third - high frequency boundary for correction algorithm: 1) sort wavelet amplitudes with the same time stamp 2) calculate left(p) and right(p) amplitudes put (right(p)-left(p))/2 into output array 3) if first parameter >0 - devide WSeries by average variability More... | |
void | wavescan (WSeries< DataType_t > **, int, TH1F *=NULL) |
double | wdmPacket (int pattern, char opt='L', TH1F *=NULL) |
virtual WSeries< double > | white (double, int, double=0., double=0.) |
what it does: each wavelet layer is devided into k intervals. More... | |
virtual bool | white (WSeries< double > ws, int mode=0) |
void | wrate (double r) |
double | wrate () const |
size_t | xsize () |
![]() | |
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 | 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) |
virtual wavearray< double > | getLPRFilter (size_t, size_t=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 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 > &) |
wavearray< DataType_t > & | operator= (const wavearray< DataType_t > &) |
wavearray< DataType_t > & | operator= (const DataType_t) |
virtual char * | operator>> (char *) |
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) |
virtual void | resetFFTW () |
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 |
Public Attributes | |
TBits | core |
int | extraHalo |
int | layerHalo |
double | net_Delay |
wavearray< int > | sparseIndex |
wavearray< int > | sparseLookup |
wavearray< float > | sparseMap00 |
wavearray< float > | sparseMap90 |
TBits | sparseType |
int | time_Halo |
int | wdm_BetaOrder |
int | wdm_KWDM |
int | wdm_m_Layer |
int | wdm_nSTS |
int | wdm_precision |
int | wdm_rate |
int | wdm_start |
![]() | |
double | bpp |
double | f_high |
double | f_low |
WaveDWT< DataType_t > * | pWavelet |
size_t | w_mode |
double | wRate |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
static int | compare (const void *x, const void *y) |
pointer to inverse fftw object More... | |
#include <sseries.hh>
Definition at line 74 of file sseries.cc.
Definition at line 84 of file sseries.cc.
SSeries< DataType_t >::SSeries | ( | const wavearray< DataType_t > & | value, |
const Wavelet & | w | ||
) |
Definition at line 89 of file sseries.cc.
Definition at line 79 of file sseries.cc.
Definition at line 68 of file sseries.cc.
void SSeries< DataType_t >::AddCore | ( | size_t | ifoID, |
netcluster * | pwc, | ||
int | ID = 0 |
||
) |
Definition at line 185 of file sseries.cc.
int SSeries< DataType_t >::binarySearch | ( | int | array[], |
int | start, | ||
int | end, | ||
int | key | ||
) |
Definition at line 443 of file sseries.cc.
int SSeries< DataType_t >::binarySearch | ( | int | array[], |
int | size, | ||
int | key | ||
) |
Definition at line 464 of file sseries.cc.
Definition at line 149 of file sseries.hh.
void SSeries< DataType_t >::Clean | ( | ) |
Definition at line 425 of file sseries.cc.
Definition at line 137 of file sseries.hh.
Definition at line 141 of file sseries.hh.
void SSeries< DataType_t >::Expand | ( | bool | bcore = true | ) |
Definition at line 397 of file sseries.cc.
|
inline |
Definition at line 116 of file sseries.hh.
|
inline |
Definition at line 71 of file sseries.hh.
Definition at line 69 of file sseries.hh.
Definition at line 67 of file sseries.hh.
Definition at line 104 of file sseries.hh.
Definition at line 111 of file sseries.hh.
Definition at line 121 of file sseries.hh.
Definition at line 125 of file sseries.hh.
Definition at line 122 of file sseries.hh.
Definition at line 126 of file sseries.hh.
Definition at line 101 of file sseries.hh.
Definition at line 113 of file sseries.hh.
wavearray< int > SSeries< DataType_t >::GetSparseIndex | ( | bool | bcore = true | ) |
Definition at line 327 of file sseries.cc.
Definition at line 317 of file sseries.cc.
bool SSeries< DataType_t >::GetSTFdata | ( | int | index, |
SymmArraySSE< float > * | pS | ||
) |
Definition at line 344 of file sseries.cc.
|
inline |
Definition at line 118 of file sseries.hh.
void SSeries< DataType_t >::Init | ( | WSeries< DataType_t > * | pws = NULL , |
bool | reset = true |
||
) |
Definition at line 94 of file sseries.cc.
void SSeries< DataType_t >::ResetSparseTable | ( | ) |
Definition at line 168 of file sseries.cc.
void SSeries< DataType_t >::SetHalo | ( | double | maxTau = 0.042 , |
int | lHalo = 1 , |
||
int | tHalo = -1 |
||
) |
Definition at line 225 of file sseries.cc.
Definition at line 57 of file sseries.hh.
|
inline |
Definition at line 129 of file sseries.hh.
|
inline |
Definition at line 133 of file sseries.hh.
|
inline |
Definition at line 130 of file sseries.hh.
|
inline |
Definition at line 134 of file sseries.hh.
|
inline |
Definition at line 98 of file sseries.hh.
void SSeries< DataType_t >::UpdateSparseTable | ( | ) |
Definition at line 258 of file sseries.cc.
TBits SSeries< DataType_t >::core |
Definition at line 157 of file sseries.hh.
Definition at line 168 of file sseries.hh.
Definition at line 166 of file sseries.hh.
double SSeries< DataType_t >::net_Delay |
Definition at line 169 of file sseries.hh.
Definition at line 162 of file sseries.hh.
Definition at line 160 of file sseries.hh.
Definition at line 163 of file sseries.hh.
Definition at line 164 of file sseries.hh.
TBits SSeries< DataType_t >::sparseType |
Definition at line 161 of file sseries.hh.
Definition at line 167 of file sseries.hh.
Definition at line 173 of file sseries.hh.
Definition at line 175 of file sseries.hh.
Definition at line 174 of file sseries.hh.
Definition at line 179 of file sseries.hh.
Definition at line 176 of file sseries.hh.
Definition at line 177 of file sseries.hh.
Definition at line 178 of file sseries.hh.