neuromore / studio

neuromore Studio is your all-in-one biofeedback suite
https://neuromore.com
124 stars 39 forks source link

GetSampleRate() on MultiChannel #313

Open stellarpower opened 10 months ago

stellarpower commented 10 months ago

MultiChannel::GetSampleRate() makes the assumption that the sample rate for all channels should be the same. My classifier has some connections that have a sample rate of 0. I'm therefore not sure this assumption is correct.

I reckon the safest thing is probably to return zero if any of the channels has zero sample rate, else if they are the same then return that.