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.
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
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