realigneSpikes
PURPOSE 
realign spikes (after they were upsampled to 100KHz).
SYNOPSIS 
function [newSpikes,newTimestamps, shifted] = realigneSpikes(allSpikes, allTimestamps, alignParam, stdEstimate, peakAlignMethod)
DESCRIPTION 
CROSS-REFERENCE INFORMATION 
This function calls:
- findPeak finds the peak of a spike for the purpose of realignment.
This function is called by:
- processRaw processes raw signal, extracts spikes. loads data directly from neuralynx
- automaticSort
- filterAndRBF does realignment at maximum, performs various tests before/after filtering
- calcAlignPerf % main file for evaluation of alignment performance.
- calcAlignPerf_allSims calculates the std of the align error for all simulations for a given noise level
- runSimulatedEval detects and sorts spike of a simulated file. calculates statistics about performance.
- posthocWhiten post-hoc whitening & upsampling of waveforms
- sortingMain this is the main file for spikesorting after spike detection.
Generated on Wed 03-Oct-2007 12:29:38 by m2html © 2003