namespace generator class GaussBurst : public DataSource

GaussBurst generates a burst of gaussian noise inside a gaussian amplitude envelope

Inheritance:


Inherited from DataSource:

Public Classes

enum RepMode
kContinuous
Continuous data source
kSingle
Generate a single event
kRate
Generate events with poisson statistics
kFixed
Generate events at fixed intervals
class SrcEvent
SrcEvent(void)
Default SrcEvent constructor
SrcEvent(const std::string& name, const std::string& comment, const Time& t0, Interval before, Interval after, const ParamMap& map)
SrcEvent data constructor
const char* getComment(void) const
Get the comment field
const char* getInputs(void) const
Get the input data
const char* getName(void) const
Get the data source name
const Time& getGPSMax(void) const
Get the GPS time of the maximum value
Interval getTimeBefore(void) const
Get the duration of the generated waveform before the maximum time
Interval getTimeAfter(void) const
Get the duration of the generated waveform after the maximum time
double getAmplitude(void) const
Get the waveform amplitude
const ParamList& getParamList(void) const
Get a list of the generated parameters

Public Methods

static DataSource* parse(const std::string& desc)
virtual DataSource* clone(void) const
virtual std::ostream& dump(std::ostream& out) const
bool isContinuous(void) const
void generate(const Time& t0, Interval dt)
virtual const char* getDataType(void) const
int getDebug(void) const
virtual Interval getDuration(void) const
Time getLatest(void) const
const char* getName(void) const
virtual double getNumeric(const std::string& name) const
virtual const char* getParameter(const std::string& name) const
double getRate(void) const
Interval getSample(void) const
virtual Interval getStartOffset(void) const
Time getStartTime(void) const
Time getTrigTime(void) const
TSeries getTimeSeries(const Time& t0, Interval dT) const
const TSeries& getTimeSeries(void) const
virtual std::string getSourceName(void) const
virtual void randomize(void)
void release(const Time& t0)
void setDebug(int lvl)
void setName(const std::string& name)
virtual void setParameter(const std::string& name, const std::string& val)
virtual void setParameter(const std::string& name, double value)
void setSample(Interval dT)
void setTriggerRate(double rate)
void setTriggerTime(const Time& t0)
bool getWriteFlag(void) const
bool getSaveFlag(void) const
void setWriteFlag(bool yorn=true)
void setSaveFlag(bool yorn=true)
unsigned long getNEvent(void) const
const SrcEvent& refEvent(void) const
const SrcEvent& refEvent(unsigned long i) const
void eraseEvent(unsigned long N)

Documentation

GaussBurst generates a burst of gaussian noise inside a gaussian amplitude envelope. The generated waveform is: x(t) = A * exp(-(t-to)^2/(2*sigma^2)) * grn() The parameter 'Width' specifies the half-width of the waveform to be generated and is specified in sigma. At the default width value of 6.0, the gaussian envelope has decreased to 1.5x10^-8 of its central amplitude.

This class has no child classes.

alphabetic index hierarchy of classes


generated by doc++