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 ^

processes raw signal, extracts spikes. loads data directly from neuralynx
file.

filename: full path/name to neuralynx file
totNrSamples: nr of samples in this file
Hd: filter specification
howManyBlocks: >0 do only so many blocks
               0 : as many as there are
startWithBlock: 1=start with first block
                >1: dont process first x blocks
includeRange: from/to timestamps of periods to sort. if empty everything
is taken.

extractionThreshold: how many times the running std of the energy signal
to extract ?

prewhiten: yes/no

returns:
blockOffsets -> start of each processed block in absolute timestamps


urut/april04
updated urut/feb07

CROSS-REFERENCE INFORMATION ^

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