You have 32 electrodes each plugged into a programmable gain amplifier distributed in roughly equidistant points across the scalp.
You may consider each a mono audio input.
You have two sets, one for each head.
For each electrode pair on the two heads you patch them both in as audio inputs.
You use a filter such that the output is the difference between […]
bayesian filtering applied to neuronal firing data(pdf) appears to tell me how to find neuronal patterns and possibly predict them. I admit the math is a bit over my head, if someone could confirm or deny my impression that would be great.