newwave is hosted by Hepforge, IPPP Durham

New Wave - Noise Elimination With Wavelets At Vast Energies  0.1.0
NewWave::FrequencyBand Class Reference

A frequency band contains all the wavelet coefficients of the same angular scale. More...

#include <FrequencyBand.hh>

List of all members.

Public Member Functions

 FrequencyBand (int yLevel, int phiLevel)
const WaveletCoefficients & coefficients () const
 Return the coefficients in this frequency band.
double rms () const
 Return the rms of the coefficients in this frequency band.
void addCoefficient (const WaveletCoefficient &coeff)
 Add a wavelet coefficient to this band.
int yLevel () const
 The y-level of this frequency band.
int phiLevel () const
 The $\phi$-level of this frequency band.

Detailed Description

A frequency band contains all the wavelet coefficients of the same angular scale.

For each pair of wavelet levels (frequencies) there is a fixed number of wavelet coefficients that cover the full $y-\phi$ space. A frequency band contains the full set of coefficients for its $y-\phi$ levels, each coefficient having an identical angular scale, but covering a different location in $ y-\phi$

Definition at line 17 of file FrequencyBand.hh.


Constructor & Destructor Documentation

NewWave::FrequencyBand::FrequencyBand ( int  yLevel,
int  phiLevel 
)

Member Function Documentation

Add a wavelet coefficient to this band.

Throw an InvalidFrequencyBand if the frequency band is already fully populated, or a WrongCoefficient if the coefficient to be added does not match the levels of the frequency band

const WaveletCoefficients& NewWave::FrequencyBand::coefficients ( ) const

Return the coefficients in this frequency band.

Will throw an InvalidFrequencyBand if the set of coefficients is not complete

The $\phi$-level of this frequency band.

double NewWave::FrequencyBand::rms ( ) const

Return the rms of the coefficients in this frequency band.

Since a wavelet coefficient represents the deviation from the mean activity in its location, the average of all coefficients within a frequency band is zero by definition. The RMS therefore provides a measure of the amount of activity in a frequency band and is conceptually similar to the magnitude of a Fourier coefficient in a Fourier decomposition

The y-level of this frequency band.


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