Changes

Jump to navigation Jump to search
170 bytes added ,  16:37, 1 September 2023
detail on scaling food-cup byte value
Line 46: Line 46:  
data pts represent 6-second bins. Each data pt is 1 byte. There are 3 channels of data pts.
 
data pts represent 6-second bins. Each data pt is 1 byte. There are 3 channels of data pts.
   −
For the food cup channel, the data pt contains number of seconds the infrared beam was broken per bin (range: 0-6)
+
For the food cup channel, the data pt a byte ranging from 0 to 63 (x3F), should be scaled to number of seconds the infrared beam was broken per bin (range: 0-6): byte value / 63 * 6 = number of seconds.
   −
For the 2 bottle channels, the data pt contains the number of beam breaks (licks) per bin (range: 0 - ~40)
+
For the 2 bottle channels, the data pt contains the number of beam breaks (licks) per bin (range: 0 - ~40); the byte value does not require scaling (i.e. byte value = number of licks/bin).
    
The arrays of data pts for each  data channel appear consecutively in the data file
 
The arrays of data pts for each  data channel appear consecutively in the data file

Navigation menu