The user creates positrack and spike train objects first. Then the user calls the different methods of this class with the spike train and positrack objects as arguments. It can get the vector length of the head direction histograms and do shuffling to know the threshold for significance.
sessionA charactor object with the name of the recording session
degPerBinDegrees per bin in the head direction histograms
smoothOccupancySdThe standard deviation of the gaussian kernel used to smooth the occupancy histogram
smoothRateHistoSdThe standard deviation of the gaussian kernel used to smooth the rate histograms
nBinHistoNumber of bins in the histograms
hdSpikesHead direction of all valid spikes
histoAn array holding the histograms of all neurons
histoDegreeA numeric holding the degree for each bin of the histogram
occupancyA numeric holding the occupancy histogram
cellListA list of cluster id of the neurons
cellPairListData frame containing pairs of cells
histoRepetitionsNumber of repetition of the 0-360 range in the histogram. Default is 0 repetition
peakRatesPeak firing rate in Hz in each firing rate histogram
vectorLengthMean vector length of each firing rate histogram
meanDirectionMean direction in each firing rate histogram
nShufflingsNumber of shufflings to get a distribution of vector length that would be obtained by chance
minShiftMsMinimum time shift of the head direction data used during the shuffling procedure
peakRatesShuffleNumeric to hold the peak firing rates obtained during the shuffling procedure
vectorLengthShuffleNumeric to hold the vector length obtained during the shuffling procedure
crossHistoArray containing crosscorrelation rate histogram
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.