Mercurial > hg > aimc
comparison trunk/src/Support/SignalBank.cc @ 273:c26222c51fb7
- Fixed the python SWIG wrappers
- Added stub test for the Gaussian features, and test data
- Fixed build errors
author | tomwalters |
---|---|
date | Mon, 15 Feb 2010 20:37:26 +0000 |
parents | e14c70d1b171 |
children | 6b4921704eb1 |
comparison
equal
deleted
inserted
replaced
272:2147f317aedc | 273:c26222c51fb7 |
---|---|
112 return false; | 112 return false; |
113 } | 113 } |
114 return true; | 114 return true; |
115 } | 115 } |
116 | 116 |
117 inline const vector<float> &SignalBank::operator[](int channel) const { | 117 float SignalBank::sample(int channel, int index) const { |
118 return signals_[channel]; | |
119 } | |
120 | |
121 inline float SignalBank::sample(int channel, int index) const { | |
122 return signals_[channel][index]; | 118 return signals_[channel][index]; |
123 } | 119 } |
124 | 120 |
125 inline void SignalBank::set_sample(int channel, int index, float value) { | 121 void SignalBank::set_sample(int channel, int index, float value) { |
126 signals_[channel][index] = value; | 122 signals_[channel][index] = value; |
127 } | 123 } |
128 | 124 |
129 const deque<int> &SignalBank::strobes(int channel) const { | 125 const deque<int> &SignalBank::strobes(int channel) const { |
130 return strobes_[channel]; | 126 return strobes_[channel]; |