sortBlock

PURPOSE ^

sorts a block of spikes

SYNOPSIS ^

function [NrOfclustersFound, assignedCluster, meanSpikeForms, rankedClusters ] = sortBlock(allSpikes, allTimestamps, thres)

DESCRIPTION ^

sorts a block of spikes

-------------------------
inputs:
allSpikes: block of spikes, 256 datapoints each

allTimestamps: timestamp for each spike. arbitrary units.

returns:
NrOfclustersFound

assignedCluster: for each spike, which cluster # (clusters are arbitrarly
numbered)

meanSpikeForm: mean spike for every cluster

rankedClusters: sorts (ascending) clusters according to nr of spikes
associated. first column=cluster nr, second column=nr of spikes
associated.

%urut/april04

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 03-Oct-2007 12:29:38 by m2html © 2003