Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Signal1Df Class Reference

One dimensional signal containing floating point values. New samples can be (log-time) added. More...

#include <Signal1D.hpp>

Inheritance diagram for Signal1Df:

Inheritance graph
[legend]
Collaboration diagram for Signal1Df:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void ChangeSupport (float _x0, float _x1)
pair< float, float > GetSupport ()
int NbSambles () const
int Size () const
void GnuPlot () const
float XToFSample (float x) const
int XToISample (float x) const
float ISampleToX (int i) const
float & operator[] (int i)
float operator[] (int i) const
float operator() (float x) const
float & SafeSample (size_t i)
float SafeSample (size_t i) const
float InterpolatedValue (float x) const
 linear interpolation
float & Value (float rx)
void Stats2ndOrder (float &avg, float &sigma) const
void Smooth (int fradius=3)
void AddSampleAtBegining (float val)
void AddSampleAtEnd (float val)
bool operator== (const Signal1Df &other)
bool operator!= (const Signal1Df &other)
 Signal1Df (int _size, float _x0=0, float _x1=1)
 Signal1Df (const string &filename)

Private Member Functions

void Read (ImLib3DFile *file, xmlpp::Element *parentNode=NULL, xmlpp::Element *node=NULL)
 Read this object, either from a current node, a parent node, or the root node of the file.
void Write (ImLib3DFile *file, xmlpp::Element *parentNode=NULL, xmlpp::Element *node=NULL) const
 Write this object, either to a current node, a parent node, or the root node of the file.

Private Attributes

float x0
float x1
vector< float > values

Detailed Description

One dimensional signal containing floating point values. New samples can be (log-time) added.

Signal values can be addressed as samples, or as being defined on a floating point segment (x0-x1) This is a very basic class. It's not intended for real signal processing. FIXME: more coherence with equivalent functionalities in 3D images FIXME: Signal1D should be template

Definition at line 34 of file Signal1D.hpp.


The documentation for this class was generated from the following files:
Generated on Fri Jun 17 13:36:19 2005 for ImLib3D by  doxygen 1.4.2