On this page we will be providing a growing collection of MATLAB scripts to help you analyze data collected using Deuteron’s loggers. If there are functions that you would like to have added to this page, please write to email@example.com explaining what you would like.
Flat format examples
Converting logged binary data into voltage units
Example showing how to take raw data from a Deuteron neural file in flat file format and sort it into channels and produce an array of voltage values.
Converting logged motion sensor data into MATLAB variables
Example showing how to take data collected from the motion sensor in a flat format Deuteron neural logger and convert it to variables in MATLAB.
Included in the download is a short document describing how to use the MATLAB example.
Converting audio data to .wav file
Example showing how to extract audio data recorded using the RatLog32 or RatLog64 system in flat file format and convert it to a .wav file can be found here.
Example showing how to convert raw audio data recorded by AudioLog1 or AudioLog2 into a .wav file can be found here.
Block file format
Extracting multiple types of data from data files in block file format
Example showing how to extract multiple types of data from a data file in block file format can be found here.
The main script is BlockFileFormatExample.m. You may need to fill in some meta data specific to your recording. You can find a short note on which variables you need to modify and what their values should be here.