Analysis code for neuroscience data