real-time eeg: timing and block size
TRANSCRIPT
Real-timeEEGtimingandblocksize
RobertOostenveld23Oct2016
CRIbraincontrolclub-Paris
Timingrequirements
Timingrequirements
• “realtime”analysis– instantaneous– veryfast– wellcontrolled
Timingrequirements
• “realtime”analysis– instantaneous– veryfast– wellcontrolled y=a*x+b
Timingrequirements
• “realtime”analysis– instantaneous– veryfast– wellcontrolled y=a*x+b
T=delay+jitterT=complexity*datasize+jitter
Timingrequirements
• “realtime”analysis– instantaneous– veryfast– wellcontrolled
• quantifyingtime– delay– jitter
y=a*x+bT=delay+jitterT=complexity*datasize+jitter
Timingrequirements
Timingrequirements
• Minimizingdelay– reducedatasize– increasespeedofalgorithm– increasebandwithoftransfer
Timingrequirements
• Minimizingdelay– reducedatasize– increasespeedofalgorithm– increasebandwithoftransfer
• Minimizingjitter– ?
Understandingjitter
Understandingjitter
Understandingjitter
Understandingjitter
Understandingjitter
Understandingjitter
Understandingjitter
Understandingjitter
Understandingjitter
Understandingjitter
Understandingjitter
Understandingjitter
Understandingjitter
Understandingjitter
Understandingjitter
Understandingjitter
Understandingjitter
• dataisprocessedinblockseverywhere– amplifier– usbport– network(tcppacket)– processingstreamstep1– processingstreamstep2
Understandingjitter
• dataisprocessedinblockseverywhere– amplifier– usbport– network(tcppacket)– processingstreamstep1– processingstreamstep2
• unequalblocksizescausejitter
Timingrequrements
Whynotalwaysuseblocksof1sample?
Timingrequrements
Whynotalwaysuseblocksof1sample?
for1sampledelay=speed*datasize+offset
Timingrequrements
Whynotalwaysuseblocksof1sample?
for1sampledelay=speed*datasize+offset
forN1-sampleblocksdelay=N*speed*datasize+N*offset
Timingrequrements
Whynotalwaysuseblocksof1sample?
for1sampledelay=speed*datasize+offset
forN1-sampleblocksdelay=N*speed*datasize+N*offsetforNsamplesinoneblockdelay=N*speed*datasize+offset