I noticed that there's an inconsistency between the dimensions of input variables in the following code:
Code: Select all
GenericFilter::ProcessFilters( const GenericSignal& Input, GenericSignal& Output )
{
const GenericSignal* currentInput = &Input;
...
}This is causing the "currentInput" to be all-zeros. Since it is the input to the P300 Linear Classifier, the classifier is getting all-zero inputs and generating all-zero outputs.
Some further exploration seemed to suggest the following code was the source of the dimension mismatch, when the currentFilter is the P3TemporalFilter, it introduced the mismatch at the first arrival of 8-sample-point bundle:
Code: Select all
GenericFilter::ProcessFilters( const GenericSignal& Input, GenericSignal& Output )
{ ...
for( ... )
{ ...
GenericSignal& currentOutput = OwnedSignals()[ currentFilter ];
}
}
Ray
