RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SinesInAwgn Class Reference

#include <sinawgn.h>

Inheritance diagram for SinesInAwgn:
SignalSource

Public Member Functions

 SinesInAwgn (double sampling_interval, std::istream &uin, std::ostream &uout)
 
 SinesInAwgn (double sampling_interval, int num_sines, double *freq, double *phase, double *ampl, double agn_sigma, long agn_seed)
 
void ResetSource (void)
 
 ~SinesInAwgn ()
 
void GetNextSegment (complex *time_seq, int num_samps)
 
- Public Member Functions inherited from SignalSource
 SignalSource ()
 
 ~SignalSource ()
 
virtual void GetNextSegment (double *, int)
 

Private Attributes

double Samp_Intvl
 
int Num_Sines
 
double * Freq
 
double * Phase
 
double * Ampl
 
double Agn_Sigma
 
long Agn_Seed
 
long Orig_Agn_Seed
 
int Seg_Offset
 

Detailed Description

Definition at line 11 of file sinawgn.h.

Constructor & Destructor Documentation

SinesInAwgn::SinesInAwgn(double sampling_interval,
std::istream & uin,
std::ostream & uout 
)
SinesInAwgn::SinesInAwgn(double sampling_interval,
int num_sines,
double * freq,
double * phase,
double * ampl,
double agn_sigma,
long agn_seed 
)

Definition at line 19 of file sinawgn.cpp.

SinesInAwgn::~SinesInAwgn()

Definition at line 87 of file sinawgn.cpp.

Member Function Documentation

void SinesInAwgn::GetNextSegment(complextime_seq,
int num_samps 
)
virtual

Reimplemented from SignalSource.

Definition at line 97 of file sinawgn.cpp.

void SinesInAwgn::ResetSource(void )
virtual

Reimplemented from SignalSource.

Definition at line 75 of file sinawgn.cpp.

Member Data Documentation

long SinesInAwgn::Agn_Seed
private

Definition at line 33 of file sinawgn.h.

double SinesInAwgn::Agn_Sigma
private

Definition at line 32 of file sinawgn.h.

double* SinesInAwgn::Ampl
private

Definition at line 31 of file sinawgn.h.

double* SinesInAwgn::Freq
private

Definition at line 29 of file sinawgn.h.

int SinesInAwgn::Num_Sines
private

Definition at line 28 of file sinawgn.h.

long SinesInAwgn::Orig_Agn_Seed
private

Definition at line 34 of file sinawgn.h.

double* SinesInAwgn::Phase
private

Definition at line 30 of file sinawgn.h.

double SinesInAwgn::Samp_Intvl
private

Definition at line 27 of file sinawgn.h.

int SinesInAwgn::Seg_Offset
private

Definition at line 35 of file sinawgn.h.


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