Peak Class Reference

#include <orsa_fft.h>

List of all members.

Public Member Functions

void Set (double f, double a, double p)
bool operator< (const Peak &p) const
virtual ~Peak ()

Public Attributes

double frequency
double amplitude
double phase
fftw_complex phiR
fftw_complex phiL

Detailed Description

Definition at line 65 of file orsa_fft.h.


Constructor & Destructor Documentation

virtual ~Peak (  )  [inline, virtual]

Definition at line 92 of file orsa_fft.h.

00092 {};


Member Function Documentation

bool operator< ( const Peak p  )  const [inline]

Definition at line 81 of file orsa_fft.h.

References Peak::amplitude.

00081                                                  {
00082       return (p.amplitude < amplitude);
00083     }

void Set ( double  f,
double  a,
double  p 
) [inline]

Definition at line 67 of file orsa_fft.h.

References Peak::amplitude, Peak::frequency, and Peak::phase.

00067                                                   {
00068       frequency = f;
00069       amplitude = a;
00070       phase     = p;
00071     } 


Member Data Documentation

double amplitude

Definition at line 86 of file orsa_fft.h.

Referenced by Peak::operator<(), and Peak::Set().

double frequency

Definition at line 86 of file orsa_fft.h.

Referenced by Peak::Set().

double phase

Definition at line 86 of file orsa_fft.h.

Referenced by Peak::Set().

fftw_complex phiL

Definition at line 89 of file orsa_fft.h.

fftw_complex phiR

Definition at line 89 of file orsa_fft.h.


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

Generated on Fri Nov 6 11:19:47 2009 for liborsa by  doxygen 1.6.1