Logo coherent WaveBurst  
Library Reference Guide
Logo
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
CWB::STFT Class Reference

Definition at line 62 of file STFT.hh.

Public Member Functions

 STFT (wavearray< double > x, int nfft, int noverlap, TString ztype="amplitude", TString fwindow="hann", double fparam=0.0, TString name="stft")
 
 ~STFT ()
 
void Draw (double t1=0.0, double t2=0.0, double f1=0.0, double f2=0.0, double z1=0.0, double z2=0.0, int dpaletteId=DUMMY_PALETTE_ID, Option_t *option="colfz")
 
TCanvas * GetCanvas ()
 
TH2D * GetHistogram ()
 
bool GetLogz ()
 
bool GetPaletteId ()
 
TString GetTitle ()
 
TString GetZtype ()
 
void Print (TString pname)
 
void SetLogz (bool isLogz=true)
 
void SetPalette (int paletteId=1)
 
void SetTitle (TString title)
 

Private Member Functions

void SetPlotStyle (int paletteId=1)
 

Private Attributes

TCanvas * canvas
 
TH2D * h2
 
bool isLogz
 
TString name
 
int paletteId
 
TString title
 
double * window
 
TString ztype
 

#include <STFT.hh>

Constructor & Destructor Documentation

◆ STFT()

CWB::STFT::STFT ( wavearray< double >  x,
int  nfft,
int  noverlap,
TString  ztype = "amplitude",
TString  fwindow = "hann",
double  fparam = 0.0,
TString  name = "stft" 
)

Definition at line 22 of file STFT.cc.

◆ ~STFT()

CWB::STFT::~STFT ( )

Definition at line 86 of file STFT.cc.

Member Function Documentation

◆ Draw()

void CWB::STFT::Draw ( double  t1 = 0.0,
double  t2 = 0.0,
double  f1 = 0.0,
double  f2 = 0.0,
double  z1 = 0.0,
double  z2 = 0.0,
int  dpaletteId = DUMMY_PALETTE_ID,
Option_t *  option = "colfz" 
)

Definition at line 94 of file STFT.cc.

◆ GetCanvas()

TCanvas* CWB::STFT::GetCanvas ( )
inline

Definition at line 70 of file STFT.hh.

◆ GetHistogram()

TH2D* CWB::STFT::GetHistogram ( )
inline

Definition at line 71 of file STFT.hh.

◆ GetLogz()

bool CWB::STFT::GetLogz ( )
inline

Definition at line 74 of file STFT.hh.

◆ GetPaletteId()

bool CWB::STFT::GetPaletteId ( )
inline

Definition at line 79 of file STFT.hh.

◆ GetTitle()

TString CWB::STFT::GetTitle ( )
inline

Definition at line 77 of file STFT.hh.

◆ GetZtype()

TString CWB::STFT::GetZtype ( )
inline

Definition at line 75 of file STFT.hh.

◆ Print()

void CWB::STFT::Print ( TString  pname)

Definition at line 315 of file STFT.cc.

◆ SetLogz()

void CWB::STFT::SetLogz ( bool  isLogz = true)
inline

Definition at line 73 of file STFT.hh.

◆ SetPalette()

void CWB::STFT::SetPalette ( int  paletteId = 1)
inline

Definition at line 78 of file STFT.hh.

◆ SetPlotStyle()

void CWB::STFT::SetPlotStyle ( int  paletteId = 1)
private

Definition at line 236 of file STFT.cc.

◆ SetTitle()

void CWB::STFT::SetTitle ( TString  title)
inline

Definition at line 76 of file STFT.hh.

Member Data Documentation

◆ canvas

TCanvas* CWB::STFT::canvas
private

Definition at line 89 of file STFT.hh.

◆ h2

TH2D* CWB::STFT::h2
private

Definition at line 90 of file STFT.hh.

◆ isLogz

bool CWB::STFT::isLogz
private

Definition at line 92 of file STFT.hh.

◆ name

TString CWB::STFT::name
private

Definition at line 94 of file STFT.hh.

◆ paletteId

int CWB::STFT::paletteId
private

Definition at line 95 of file STFT.hh.

◆ title

TString CWB::STFT::title
private

Definition at line 93 of file STFT.hh.

◆ window

double* CWB::STFT::window
private

Definition at line 98 of file STFT.hh.

◆ ztype

TString CWB::STFT::ztype
private

Definition at line 96 of file STFT.hh.


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