SignalStats.hh
Go to the documentation of this file.
Computing the maximum of the absolute value of a discretely sampled signal. Also known as the maximum...
Definition: SignalStats.hh:149
virtual double Value() const override
Get the current value of the statistical measure.
virtual std::string ShortName() const override
Get a short version of the name of this statistical measure.
virtual void InsertData(const double _data) override
Add a new sample to the statistical measure.
Computing the maximum value of a discretely sampled signal.
Definition: SignalStats.hh:85
virtual double Value() const override
Get the current value of the statistical measure.
virtual std::string ShortName() const override
Get a short version of the name of this statistical measure.
virtual void InsertData(const double _data) override
Add a new sample to the statistical measure.
Computing the mean value of a discretely sampled signal.
Definition: SignalStats.hh:100
virtual double Value() const override
Get the current value of the statistical measure.
virtual std::string ShortName() const override
Get a short version of the name of this statistical measure.
virtual void InsertData(const double _data) override
Add a new sample to the statistical measure.
Computing the minimum value of a discretely sampled signal.
Definition: SignalStats.hh:115
virtual double Value() const override
Get the current value of the statistical measure.
virtual std::string ShortName() const override
Get a short version of the name of this statistical measure.
virtual void InsertData(const double _data) override
Add a new sample to the statistical measure.
Computing the square root of the mean squared value of a discretely sampled signal.
Definition: SignalStats.hh:131
virtual double Value() const override
Get the current value of the statistical measure.
virtual std::string ShortName() const override
Get a short version of the name of this statistical measure.
virtual void InsertData(const double _data) override
Add a new sample to the statistical measure.
Statistical properties of a discrete time scalar signal.
Definition: SignalStats.hh:39
virtual std::string ShortName() const =0
Get a short version of the name of this statistical measure.
virtual void InsertData(const double _data)=0
Add a new sample to the statistical measure.
virtual double Value() const =0
Get the current value of the statistical measure.
std::unique_ptr< SignalStatisticPrivate > dataPtr
Pointer to private data.
Definition: SignalStats.hh:76
SignalStatistic(const SignalStatistic &_ss)
Copy constructor.
virtual size_t Count() const
Get number of data points in measurement.
Collection of statistics for a scalar signal.
Definition: SignalStats.hh:183
bool InsertStatistics(const std::string &_names)
Add multiple statistics.
std::map< std::string, double > Map() const
Get the current values of each statistical measure, stored in a map using the short name as the key.
SignalStats & operator=(const SignalStats &_s)
Assignment operator.
size_t Count() const
Get number of data points in first statistic. Technically you can have different numbers of data poin...
void InsertData(const double _data)
Add a new sample to the statistical measures.
bool InsertStatistic(const std::string &_name)
Add a new type of statistic.
Computing the incremental variance of a discretely sampled signal.
Definition: SignalStats.hh:165
virtual double Value() const override
Get the current value of the statistical measure.
virtual std::string ShortName() const override
Get a short version of the name of this statistical measure.
virtual void InsertData(const double _data) override
Add a new sample to the statistical measure.
Definition: Angle.hh:43