libwt  1.0.0
A C++ library for the continous wavelet transform.
Public Member Functions | Protected Attributes | List of all members
wt::Morlet Class Reference

The Morlet wavelet. More...

#include <wavelet.hh>

Inheritance diagram for wt::Morlet:
wt::Wavelet wt::Container

Public Member Functions

 Morlet (double dff=2.0)
 Constructor. More...
 
 Morlet (MorletObj *obj)
 Packs the given MorletObj instance into a container, the constructor takes the ownership of the instance. More...
 
 Morlet (const Morlet &other)
 Copy constructor, manages references. More...
 
virtual ~Morlet ()
 Destructor. More...
 
Morletoperator= (const Morlet &other)
 Assignment operator, manages references. More...
 
- Public Member Functions inherited from wt::Wavelet
 Wavelet ()
 Emtpy constructor. More...
 
 Wavelet (WaveletObj *obj)
 Constructs a wavelet (container) with the specified wavelet object. More...
 
 Wavelet (const Wavelet &other)
 Copy constructor (reference counting). More...
 
virtual ~Wavelet ()
 Destructor, will distroy the containing wavelet object if this was the last reference to it. More...
 
Waveletoperator= (const Wavelet &other)
 Assignment operator (reference counting). More...
 
CScalar evalAnalysis (const Scalar &t) const
 Evaluates the (unscaled) analysis wavelet at the specified position. More...
 
CScalar evalSynthesis (const Scalar &t) const
 Evaluates the (unscaled) analysis wavelet at the specified position. More...
 
double cutOffTime () const
 Returns the width of the wavelet in time. More...
 
double cutOffFreq () const
 Returns the width of the wavelet in frequencies. More...
 
- Public Member Functions inherited from wt::Container
 Container ()
 Empty constructor. More...
 
 Container (Object *object)
 Packs the given object in a container. More...
 
 Container (const Container &other)
 Copy constructor. More...
 
virtual ~Container ()
 Destructor. More...
 
Containeroperator= (const Container &other)
 Assignment operator. More...
 
template<class T >
bool is ()
 Returns true if the object held by the container is of type T::ObjectType. More...
 
template<class T >
as ()
 Dynamic container cast. More...
 
bool isNull () const
 Returns true if the container is empty (null). More...
 

Protected Attributes

MorletObj_morlet
 Holds a reference to the actual instance MorletObj instance. More...
 
- Protected Attributes inherited from wt::Wavelet
WaveletObj_wavelet
 Holds a reference to the wavelet object. More...
 
- Protected Attributes inherited from wt::Container
Object_object
 The object being managed. More...
 

Additional Inherited Members

- Public Types inherited from wt::Wavelet
typedef WaveletObj ObjectType
 The object type of the container. More...
 
- Public Types inherited from wt::Container
typedef Object ObjectType
 Specifies the object type being held by the container class. More...
 

Detailed Description

The Morlet wavelet.

\[ g(t) = \sqrt{\frac{\delta}{2\pi}}\exp(2\pi\,i\,t-t^2\,\delta)\,, \]

where $\delta$ specifies the time-frequency resolution of the wavelet. Default $\delta=2$.

Constructor & Destructor Documentation

Morlet::Morlet ( double  dff = 2.0)

Constructor.

Parameters
dffSpecifies the frequency resolution.
Morlet::Morlet ( MorletObj obj)
explicit

Packs the given MorletObj instance into a container, the constructor takes the ownership of the instance.

Morlet::Morlet ( const Morlet other)

Copy constructor, manages references.

Morlet::~Morlet ( )
virtual

Destructor.

Member Function Documentation

Morlet & Morlet::operator= ( const Morlet other)

Assignment operator, manages references.

Member Data Documentation

MorletObj* wt::Morlet::_morlet
protected

Holds a reference to the actual instance MorletObj instance.


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