Weill-Neurohub-OPTiMaL / Analysis-rcs-data

Selection of functions to extract .json raw data from Summit RCS device, transform it to .mat format and manipulate it for initial stages of data analysis.
0 stars 1 forks source link

Correct LD outputs #1

Open tcdixon4 opened 2 years ago

tcdixon4 commented 2 years ago

The current LD outputs interpret the (+/-) bit as another integer bit, so negative values are misinterpreted.

This can be corrected by computing: ld(ld>2^31) = ld(ld>2^31) - 2^32

tcdixon4 commented 2 years ago

Similarly, it would be good to correct the LD outputs and thresholds by dividing by the fractional fixed point value so that it matches what was programmed at the time of recording