goori / braintrust

Automatically exported from code.google.com/p/braintrust
0 stars 0 forks source link

Have a 'Valid Data Range' number associated with each Mef File #419

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In order to convert to EDF, we need to compute the best scaling factor for the 
data. The MEF header provide maximum values within the entire dataset but these 
are likely set by artifact.

When we convert the data to be represented by less bytes (i.e. EDF), we need to 
scale the data based such that the data is stored with the best accuracy and 
clipped artifacts. We can only assess this number by looking at the entire 
dataset which is not possible when we try to stream into an EDF file.

Therefore, we should calculate the number when we convert to MEF and store this 
number in the DB or in the MEF header. Javier has an algorithm to get a valid 
cutoff for the data (used in the DCN code).

Original issue reported on code.google.com by JBWagenaar on 23 May 2013 at 6:14