processRaw
PURPOSE 
processes raw signal, extracts spikes. loads data directly from neuralynx
SYNOPSIS 
function [allSpikes, allSpikesNoiseFree, allSpikesCorrFree, allSpikesTimestamps, dataSamplesRaw,filteredSignal, rawMean,rawTraceSpikes,runStd2,upperlim,stdEstimates, blocksProcessed, noiseTraces, dataSamplesRawUncorrected, blockOffsets ] = processRaw(filename, totNrSamples, Hd, params )
DESCRIPTION 
CROSS-REFERENCE INFORMATION 
This function calls:
- computeNormalizedGround todo: note that this wont work if the gains are different on channels on the same ground.
- convertTimestamps converts from internal representation of timestamps to real timestamps
- determineBlocks determines the blocksize and how many of those are to be processed, based on the raw number of samples available in
- extractSpikes extracts spikes from raw signal
- getRawData reads raw continous data
- upsampleSpikes upsample spikes from raw sampling to 100kHz.
- posthocWhiten post-hoc whitening & upsampling of waveforms
- realigneSpikes realign spikes (after they were upsampled to 100KHz).
This function is called by:
Generated on Wed 03-Oct-2007 12:29:38 by m2html © 2003