Skip to content
Snippets Groups Projects
Commit 2b17f208 authored by jsiegle's avatar jsiegle
Browse files

Minor changes to FilterNode

parent 6af8f28e
Branches altText
No related tags found
No related merge requests found
...@@ -133,7 +133,8 @@ void FilterNode::updateSettings() ...@@ -133,7 +133,8 @@ void FilterNode::updateSettings()
for (int n = 0; n < getNumInputs(); n++) for (int n = 0; n < getNumInputs(); n++)
{ {
// std::cout << "Creating filter number " << n << std::endl;
std::cout << "Creating filter number " << n << std::endl;
filters.add(new Dsp::SmoothedFilterDesign filters.add(new Dsp::SmoothedFilterDesign
<Dsp::Butterworth::Design::BandPass // design type <Dsp::Butterworth::Design::BandPass // design type
......
...@@ -328,6 +328,8 @@ void LfpDisplayCanvas::updateScreenBuffer() ...@@ -328,6 +328,8 @@ void LfpDisplayCanvas::updateScreenBuffer()
screenBuffer->clear(screenBufferIndex, 1); screenBuffer->clear(screenBufferIndex, 1);
displayBufferIndex = displayBufferIndex % displayBufferSize; // just to be sure
for (int channel = 0; channel <= nChans; channel++) // pull one extra channel for event display for (int channel = 0; channel <= nChans; channel++) // pull one extra channel for event display
{ {
...@@ -608,7 +610,7 @@ void LfpDisplay::setNumChannels(int numChannels) ...@@ -608,7 +610,7 @@ void LfpDisplay::setNumChannels(int numChannels)
for (int i = 0; i < numChans; i++) for (int i = 0; i < numChans; i++)
{ {
std::cout << "Adding new display for channel " << i << std::endl; //std::cout << "Adding new display for channel " << i << std::endl;
LfpChannelDisplay* lfpChan = new LfpChannelDisplay(canvas, this, i); LfpChannelDisplay* lfpChan = new LfpChannelDisplay(canvas, this, i);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment