Parameter setting problem: Value is X, exceeds high range(1)
Posted: 25 Jun 2012, 17:31
Hi, all
Recently, I created my own signal processing module in the BCI2000 and debug a lot. One problem I met is something related with parameter setting, I think.
the error appears on "System Log" is as below:
Parameter"Filter—>BandpassOrder": Value is 5, exceeds high range(1).
Parameter"Filter—>Constant": Value is 4, exceeds high range(1).
Parameter"Filter—>FreBandHigh": Value is 30, exceeds high range(1).
Parameter"Filter—>FreBandLow": Value is 6, exceeds high range(1).
the source code I write is as below:
STFFilter::STFFilter()
{
BEGIN_PARAMETER_DEFINITIONS
"Filtering:STFFilter float ConstantQ= 4 0 0 1 // Proportional band width",
"Filtering:STFFilter float FreqBandLow= 6.0 0.0 -1.0 1.0 // Used frequency band low edge",
"Filtering:STFFilter float FreqBandHigh= 30.0 0.0 -1.0 1.0 // Used frequency band High edge",
"Filtering:STFFilter float BandpassOrder= 5 0 0 1 // extract frequency bin with a certain bandpass order",
"Filtering:STFFilter float Delay= 0.1s"
" 0.1s % % // Delay for convolution with FIR Hilbert transformer",
END_PARAMETER_DEFINITIONS
}
thank you.
Haijun
Recently, I created my own signal processing module in the BCI2000 and debug a lot. One problem I met is something related with parameter setting, I think.
the error appears on "System Log" is as below:
Parameter"Filter—>BandpassOrder": Value is 5, exceeds high range(1).
Parameter"Filter—>Constant": Value is 4, exceeds high range(1).
Parameter"Filter—>FreBandHigh": Value is 30, exceeds high range(1).
Parameter"Filter—>FreBandLow": Value is 6, exceeds high range(1).
the source code I write is as below:
STFFilter::STFFilter()
{
BEGIN_PARAMETER_DEFINITIONS
"Filtering:STFFilter float ConstantQ= 4 0 0 1 // Proportional band width",
"Filtering:STFFilter float FreqBandLow= 6.0 0.0 -1.0 1.0 // Used frequency band low edge",
"Filtering:STFFilter float FreqBandHigh= 30.0 0.0 -1.0 1.0 // Used frequency band High edge",
"Filtering:STFFilter float BandpassOrder= 5 0 0 1 // extract frequency bin with a certain bandpass order",
"Filtering:STFFilter float Delay= 0.1s"
" 0.1s % % // Delay for convolution with FIR Hilbert transformer",
END_PARAMETER_DEFINITIONS
}
thank you.
Haijun