Merge branch 'release/neulive' of https://gitlab.com/s880782002/bioprocc2650 into release/neulive
# Conflicts: # python_test_code/uni/briefly_data_analysis.py
This commit is contained in:
@@ -9,30 +9,24 @@ def main():
|
||||
Guess that there are three type of data loss. In order to prove this idea,
|
||||
several tests are needed
|
||||
|
||||
|
||||
method:
|
||||
compare ramp data with time stamp, there are several conditions
|
||||
if data_delta * 1 / sampling rate == time_delta:
|
||||
this should be packet loss
|
||||
else
|
||||
this should not only be packet loss but also some programming problems in headstage
|
||||
need to figure out
|
||||
|
||||
|
||||
types of data loss:
|
||||
1. packet loss:
|
||||
bluetooth notification does not need any negotiation.
|
||||
if there is any packet loss during the connection,
|
||||
it will not be lost forever
|
||||
|
||||
2. program delay causes loss in client(headstage):
|
||||
too many effort on data packaging, it would cause
|
||||
data delay
|
||||
e.g:
|
||||
|
||||
3. program delay causes loss in host(controller):
|
||||
...todo and need to define
|
||||
|
||||
Assume that we have lost several bytes data. We want to analyze the type of data lost.
|
||||
method:
|
||||
compare ramp data with time stamp, there are several conditions
|
||||
if data_delta * 1 / sampling rate == time_delta:
|
||||
this should be packet loss
|
||||
else
|
||||
this should be program delay
|
||||
|
||||
method to coped with the corresponding problem:
|
||||
1. try 'Indication' to check data loss is reduced or not.
|
||||
|
||||
Reference in New Issue
Block a user