Programming Reference:Signals

From BCI2000 Wiki
Revision as of 16:47, 7 May 2007 by Atennissen (talk | contribs)
Jump to navigation Jump to search

Signals

Many classes in both Data Acquisition and Signal Processing work on signals, i.e., continuously flowing data organized in channels and samples. The GenericSignal class contains floating point data organized as a matrix of channels and "elements" (a generalized notion of samples -- e.g., spectrally analyzed data might contain the spectrum of each channel as a list of "elements").

Signal Properties

Sometimes, the number of channels, elements, and bytes required for storing values, are referred to as "Signal Properties". There is a separate class, SignalProperties, for expressing those values, and determining whether a given signal "fits" into another one, i.e., whether the values contained in one signal may be copied into another signal without loss of information. GenericSignal uses a SignalProperties member to maintain information about its properties.