81  Downsampling and PCA with spiking and EMG/ ephys data

Open in Google Colab | Download notebook

Data set download


In ?exr-opening-hdf5, we opened a .7z file containing a data set of spiking data combined with EMG data from a monkey operating a joystick. We used the data set from August 24, 2015. In that experiment, there are EMG recordings from seven locations, spiking recordings from 94 neurons, and measurement of cursor position, cursor acceleration, cursor velocity, and force on the joystick, among other things. You are advised to read the associated README file.

Your task in this exercise is to determine an instantaneous spiking rate of each of the neurons over time. Think about what model you want to use to do that and how you want to treat your spiking rate data. This will likely involve downsampling the data. (We will connect the associated EMG, cursor, joystick, etc. data, in a later exercise. You can downsample the other signals to match the downsampling of your spiking rate now or later, if you like.)

Perform PCA on the spiking rate and make a plot.