Page 1 of 1

Spatial filter mistake

Posted: 23 Jul 2012, 19:37
by shjlynn
hi,

I want to use SpatialFilter to do small lapalacian filtering, so I use sparse matrix. The matrix is set as follows
In Out Wt
1 C3 C3 1
2 FC3 C3 -.25
3 C5 C3 -.25
4 C1 C3 -.25
5 CP3 C3 -.25
6 C4 C4 1
7 FC4 C4 -.25
8 C2 C4 -.25
9 C6 C4 -.25
10 CP4 C4 -.25

and in TransmitChlist, I set: 17 21 25 26 27 29 30 31 36 40 which correspond to FC3 FC4 C5 C3 C1 C2 C4 C6 CP3 CP4. Because I use Neuroscan of which input channel number is 68.

I press the "Setconfig", get the following mistake. I don't know why.

SpatialFilter::Preflight: SpatialFilter output is empty. Set SpatialFilterMissingChannels to report invalid input channels.
LinearClassifier::Preflight: Channel specification in
Classifier(1,input channel)=C3 is invalid.
LinearClassifier::Preflight: Channel specification in
Classifier(2,input channel)=C4 is invalid.

Re: Spatial filter mistake

Posted: 24 Jul 2012, 07:56
by mellinger
Hi,

you should make sure to provide channel names in the ChannelNames parameter. This will also allow you to use channel names in the TransmitChList parameter. Further, as suggested in the error message, you should set SpatialFilterMissingChannels, which will provide you with more details about how your channel names are interpreted (e.g., you might accidentally have added space characters to channel names).

Regards,
Juergen

Re: Spatial filter mistake

Posted: 24 Jul 2012, 12:25
by shjlynn
Hi, Juergen

thank you for your reminding. So in the ChannelNames parameter, is there any sequence requirement?

regards
Haijun

Re: Spatial filter mistake

Posted: 24 Jul 2012, 13:56
by mellinger
Ehm, yes, indeed. The first entry in the ChannelNames parameter should be the name of the first channel recorded, the second entry should be the name of the second channel recorded, and so on.

Re: Spatial filter mistake

Posted: 24 Jul 2012, 17:53
by shjlynn
ok I see, thank you.

Haijun