Various Digital Signal Processing (DSP) operations for (sequential) data samples.
More...
Various Digital Signal Processing (DSP) operations for (sequential) data samples.
Copyright(c) 2021 NCFS/IIHE, All Rights Reserved. *
*
Authors: The Netherlands Center for Fundamental Studies (NCFS). *
The Inter-university Institute for High Energies (IIHE). *
Website : http:
Contact : Nick van Eijndhoven (nickve.nl@gmail.com) *
*
Contributors are mentioned in the code where appropriate. *
*
No part of this software may be used, copied, modified or distributed *
by any means nor transmitted or translated into machine language for *
commercial purposes without written permission by the IIHE representative. *
Permission to use the software strictly for non-commercial purposes *
is hereby granted without fee, provided that the above copyright notice *
appears in all copies and that both the copyright notice and this *
permission notice appear in the supporting documentation. *
This software is provided "as is" without express or implied warranty. *
The authors make no claims that this software is free of error, or is *
consistent with any particular standard of merchantability, or that it *
will meet your requirements for any particular application, other than *
indicated in the corresponding documentation. *
This software should not be relied on for solving a problem whose *
incorrect solution could result in injury to a person or loss of property. *
If you do use this software in such a manner, it is at your own risk. *
The authors disclaim all liability for direct or consequential damage *
resulting from your use of this software. *
Definition at line 20 of file NcDSP.h.
|
| | NcDSP (const char *name="", const char *title="") |
| |
| | NcDSP (const NcDSP &q) |
| |
| virtual | ~NcDSP () |
| |
| TArrayL64 | ADC (Int_t nbits, Double_t range, Double_t Vbias=0, TArray *Vsig=0, TH1 *hist=0, Int_t B=0, Int_t C=3) const |
| |
| virtual TObject * | Clone (const char *name="") const |
| |
| TArrayD | Convolve (TH1 *hist=0, Int_t *i1=0, Int_t *i2=0, Int_t shift=0) |
| |
| TArrayD | Correlate (TH1 *hist=0, Int_t *i1=0, Int_t *i2=0, Double_t *peak=0, TString norm="NONE") |
| |
| void | Cosine (Int_t type, TH1 *hist=0, TString sel="none") |
| |
| TArrayD | DAC (Int_t nbits, Double_t range, Double_t Vbias=0, TArray *adcs=0, TArray *peds=0, TH1 *hist=0, Int_t B=0, Int_t C=3) const |
| |
| TArrayD | Digitize (Int_t nbits, Double_t vcal, Int_t mode, TH1 *hist=0, Double_t *stp=0, Double_t *scale=0) const |
| |
| TArrayD | FilterBandPass (Double_t f1, Double_t f2, Int_t n, TH1 *hisf=0, Bool_t dB=kTRUE, TH1 *hist=0, Int_t *i1=0, Int_t *i2=0, Bool_t adaptn=kTRUE) |
| |
| TArrayD | FilterBandReject (Double_t f1, Double_t f2, Int_t n, TH1 *hisf=0, Bool_t dB=kTRUE, TH1 *hist=0, Int_t *i1=0, Int_t *i2=0, Bool_t adaptn=kTRUE) |
| |
| TArrayD | FilterHighPass (Double_t fcut, Int_t n, TH1 *hisf=0, Bool_t dB=kTRUE, TH1 *hist=0, Int_t *i1=0, Int_t *i2=0, Bool_t adaptn=kTRUE) |
| |
| TArrayD | FilterLowPass (Double_t fcut, Int_t n, TH1 *hisf=0, Bool_t dB=kTRUE, TH1 *hist=0, Int_t *i1=0, Int_t *i2=0, Bool_t adaptn=kTRUE) |
| |
| TArrayD | FilterMovingAverage (Int_t n, TString mode, TH1 *hist=0, Int_t *i1=0, Int_t *i2=0, TH1 *hisf=0, Bool_t dB=kTRUE) |
| |
| TArrayD | FilterMultiBand (TArray &freqs, Int_t n, TH1 *hisf=0, Bool_t dB=kTRUE, TH1 *hist=0, Int_t *i1=0, Int_t *i2=0, Bool_t adaptn=kTRUE) |
| |
| void | Fourier (TString mode, TH1 *hist=0, TString sel="none") |
| |
| TArrayD | GetBandPassKernel (Double_t f1, Double_t f2, Int_t n, TH1 *hisf=0, Bool_t dB=kTRUE, TH1 *hist=0, Bool_t adaptn=kTRUE) |
| |
| TArrayD | GetBandRejectKernel (Double_t f1, Double_t f2, Int_t n, TH1 *hisf=0, Bool_t dB=kTRUE, TH1 *hist=0, Bool_t adaptn=kTRUE) |
| |
| TArrayD | GetData (TString mode) const |
| |
| TArrayD | GetHighPassKernel (Double_t fcut, Int_t n, TH1 *hisf=0, Bool_t dB=kTRUE, TH1 *hist=0, Bool_t adaptn=kTRUE) |
| |
| TArrayD | GetLowPassKernel (Double_t fcut, Int_t n, TH1 *hisf=0, Bool_t dB=kTRUE, TH1 *hist=0, Bool_t adaptn=kTRUE) |
| |
| TArrayD | GetMovingAverageKernel (Int_t n, TH1 *hisf=0, Bool_t dB=kTRUE, TH1 *hist=0) |
| |
| TArrayD | GetMultiBandKernel (TArray &freqs, Int_t n, TH1 *hisf=0, Bool_t dB=kTRUE, TH1 *hist=0, Bool_t adaptn=kTRUE) |
| |
| Int_t | GetN (Int_t mode=0) const |
| |
| Float_t | GetSamplingFrequency () const |
| |
| void | Hartley (Int_t mode, TH1 *hist=0, TString sel="none") |
| |
| void | Hilbert (Int_t mode, TH1 *hist=0, TString sel="none") |
| |
| void | Load (Int_t n, Double_t *re, Double_t *im=0, Float_t f=-1) |
| |
| void | Load (NcSample *s, Int_t i, Float_t f=-1) |
| |
| void | Load (NcSample *s, TString name, Float_t f=-1) |
| |
| void | Load (TArray *re, TArray *im=0, Float_t f=-1) |
| |
| void | Load (TGraph *gr, Float_t f=-1) |
| |
| void | Load (TH1 *h, Float_t f=-1) |
| |
| void | LoadResult () |
| |
| TGraph | Periodogram (TString tu, Double_t Tmin, Double_t Tmax, Int_t n, NcSample s, Int_t it, Int_t iy, Int_t idy=0, TF1 *Z=0, NcDevice *results=0) const |
| |
| TGraph | Periodogram (TString tu, Double_t Tmin, Double_t Tmax, Int_t n, NcSample s, TString namet, TString namey, TString namedy="-", TF1 *Z=0, NcDevice *results=0) const |
| |
| TGraph | Periodogram (TString tu, Double_t Tmin, Double_t Tmax, Int_t n, TArray &t, TArray &y, TArray *dy=0, TF1 *Z=0, NcDevice *results=0) const |
| |
| TGraph | Periodogram (TString tu, Double_t Tmin, Double_t Tmax, Int_t n, TGraph &g, Bool_t err=kFALSE, TF1 *Z=0, NcDevice *results=0) const |
| |
| TGraph | Periodogram (TString tu, Double_t Tmin, Double_t Tmax, Int_t n, TH1 &h, Bool_t err=kFALSE, TF1 *Z=0, NcDevice *results=0) const |
| |
| TArrayD | SampleAndHold (Int_t ns, TH1 *hist=0, Int_t loc=-1, Int_t jmin=0, Int_t jmax=-1) const |
| |
| TArrayD | SampleAndHold (TF1 f, Double_t step, Double_t vmin, Double_t vmax, TH1 *hist=0, Int_t loc=-1) const |
| |
| TArrayD | SampleAndSum (Int_t ns, TH1 *hist, Int_t jmin=0, Int_t jmax=-1) const |
| |
| TArrayD | SampleAndSum (TF1 f, Double_t step, Double_t vmin, Double_t vmax, TH1 *hist=0) const |
| |
| void | SetSamplingFrequency (Float_t f) |
| |
| void | SetWaveform (Int_t n, Double_t *h, Float_t f=-1) |
| |
| void | SetWaveform (NcSample *s, Int_t i, Float_t f=-1) |
| |
| void | SetWaveform (NcSample *s, TString name, Float_t f=-1) |
| |
| void | SetWaveform (TArray *h, Float_t f=-1) |
| |
| void | SetWaveform (TGraph *gr, Float_t f=-1) |
| |
| void | SetWaveform (TH1 *h, Float_t f=-1) |
| |
| void | Sine (Int_t type, TH1 *hist=0, TString sel="none") |
| |
| TArrayD | Transmit (Int_t nbits, Double_t range, Double_t Vbias=0, TArray *Vsig=0, TArray *peds=0, TH1 *hist=0, Int_t B=0, Int_t C=3) const |
| |