Hello ,
Is there anyway to see how one can use haar wavelet using TSpectrum class?
I am looking for if anyone has tried that function?
regards
Debasish.
Dear Debasish,
Thanks for the interesting post and welcome to the ROOT community!
No, as far as I know, nobody tried, but clearly I may be wrong.
Cheers,
D
I added these lines on root > .x Transform.C
code in TSpectrumTransform link,
Trying to find out if thats how it should be, any suggestions?
TSpectrumTransform* Transformer1dimHaar = new TSpectrumTransform(4096);
Transformer1dimHaar->SetTransformType(TSpectrumTransform::kTransformHaar,0);
Transformer1dimHaar->SetDirection(Transformer1dimHaar->kTransformForward);
Transformer1dimHaar->Transform(source,destinhaar);
TH1F* hresultHaar = new TH1F("hresultHaar","Haar Transform of input",nbins,xmin,xmax);
for (Int_t i = 0; i < nbins; i++)hresultHaar->SetBinContent (i + 1, destinhaar[i]);
If anyone has tried will be eager to discuss
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.