Notes, assignments, and code for NEUROBIO 735 (Spring 2018).
1/10 – 2/8:
Wednesday, Thursday
3:00 – 4:30
DIBS conference room
In this class, we’ll use all the tools at our disposal to fix some code that isn’t working. The data for this exercise are time series of pupil measurements taken while a participant completed an “oddball” task. The complete code, including several utility functions, is available on GitHub. As with most code in the wild, this is only lightly commented.
A simple basic analysis is to look at trial-averaged pupil responses to standard and deviant sounds, locked to stimulus presentation. The main script used to run the analysis is sample_analysis_scratch.m
. This constitutes what is often called a minimal working example (MWE), apart from the fact that it’s not quite minimal and not quite working.
Your goal in class, using whatever means you have at your disposal, is to find and remove the bugs.
Oh, and to save your sanity, the final output should look like this: