Jump to content

Programming Reference:Signals: Difference between revisions

From BCI2000 Wiki
Atennissen (talk | contribs)
No edit summary
Mellinger (talk | contribs)
Line 22: Line 22:
maintain
maintain
information about its properties.
information about its properties.
[[Category:Framework API]][[Category:Development]]

Revision as of 17:27, 8 November 2007

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.