210520 Notes on working with Ehren.
1. Examining Nathan's data found two joined files one Joined_rat_data the other Joined_rat_data, the files in each look complementary so we are merging them together. such that joined_rat_data as all the relevant data.
2. Joined file are were Ehren remembers Nathan pooling the data from rats together we are ignoring those.
3. Examined matlab script histogram_camera2.m found in Nathan's folder that script does not look to be doing what we actually want it to do and not useful to work from.
4. found his (Nathan) scripts calling a script rat_camera.m but that file cannot be found anywhere.
5. We found in correctrearingdatasummation
it takes the first 3 columns as hours,minutes,seconds but it is not clear where that is made true in the data as the csv files are month,date,year are the first 3 columns.
6. we were confused as to how Kevin was reading in the correct data, he removes the first two rows and first 3 columns, so that line 45 of sortingandcreatingcategories reads in 1,2 which the third row and fourth column of the raw csv so he is using the first rear event as the initial time zero for his analyses.
7. Kevin was analyzing his data by smoothing over the data using threshold detect we seperated the code to include another function that does not do the smoothing, this raw data is an accurate reflection of what the laser was actually doing compared to the rears which are more accurately represented by the smooth data.
next step is replicate the accuracy charts from nathan and Kevin. step through the figures of the pape rand get the code working for each.