datatypes and storage in neuroscan source module
Posted: 06 Apr 2009, 04:08
Hi,
I am using the neuroscan.cpp in a BCI setup where I provide visual feedback about decoding accuracy to subjects. I realized that neuroscan is saving the data as int32 while the standard format of the BCI2000 filter chain is float32. When calibrating my decoding algorithm with data analyzed off-line in MATLAB I get a huge out of range problem because of this missmatch of datatypes.
My question now is: are there any implications/reasons for storing data as int32 of which I am not aware? Or can I just modify the neuroscan.cpp to allow storage as float as well?
Best,
matthias
I am using the neuroscan.cpp in a BCI setup where I provide visual feedback about decoding accuracy to subjects. I realized that neuroscan is saving the data as int32 while the standard format of the BCI2000 filter chain is float32. When calibrating my decoding algorithm with data analyzed off-line in MATLAB I get a huge out of range problem because of this missmatch of datatypes.
My question now is: are there any implications/reasons for storing data as int32 of which I am not aware? Or can I just modify the neuroscan.cpp to allow storage as float as well?
Best,
matthias