Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
CWB::STFT Class Reference

Definition at line 44 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

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 4 of file STFT.cc.

CWB::STFT::~STFT ( )

Definition at line 68 of file STFT.cc.

Member Function Documentation

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 76 of file STFT.cc.

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

Definition at line 52 of file STFT.hh.

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

Definition at line 53 of file STFT.hh.

bool CWB::STFT::GetLogz ( )
inline

Definition at line 56 of file STFT.hh.

bool CWB::STFT::GetPaletteId ( )
inline

Definition at line 61 of file STFT.hh.

TString CWB::STFT::GetTitle ( )
inline

Definition at line 59 of file STFT.hh.

TString CWB::STFT::GetZtype ( )
inline

Definition at line 57 of file STFT.hh.

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

Definition at line 297 of file STFT.cc.

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

Definition at line 55 of file STFT.hh.

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

Definition at line 60 of file STFT.hh.

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

Definition at line 218 of file STFT.cc.

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

Definition at line 58 of file STFT.hh.

Member Data Documentation

TCanvas* CWB::STFT::canvas
private

Definition at line 71 of file STFT.hh.

TH2D* CWB::STFT::h2
private

Definition at line 72 of file STFT.hh.

bool CWB::STFT::isLogz
private

Definition at line 74 of file STFT.hh.

TString CWB::STFT::name
private

Definition at line 76 of file STFT.hh.

int CWB::STFT::paletteId
private

Definition at line 77 of file STFT.hh.

TString CWB::STFT::title
private

Definition at line 75 of file STFT.hh.

double* CWB::STFT::window
private

Definition at line 80 of file STFT.hh.

TString CWB::STFT::ztype
private

Definition at line 78 of file STFT.hh.


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