evalSimulatedPerfDetection

PURPOSE ^

determines whether detected spikes are real (true positives) or not.

SYNOPSIS ^

function [trueDetections, falseDetections, misses, hits] = evalSimulatedPerfDetection( spiketimes, spikeTimestamps, tollerance )

DESCRIPTION ^

determines whether detected spikes are real (true positives) or not.

spiketimes is ground truth (from simulation)
spikeTimestamps is what the algorithm detected
tollerance is the number of samples the timestamp is allowed to be off and still counted as valid

returns:
trueDetections : true detections for each neuron in the simulation
falseDetections: total number false positives
misses:how many were not found
hits: which waveforms were TPs and which class do they belong to. nx2 -> ind, class


urut/april07 - transfered out of evalPerformance.m

CROSS-REFERENCE INFORMATION ^

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