Skip to content

CLASS KTNSPOnline

  UEAMAPFILE -- Defines a class that contains information on a UEA
  electrode array using CMP files provided by Blackrock Microsystems.

  To load a CMP file type 'MapName = UEAMapFile' where MapName is the name
  of the variable that will be created and will contain the map class.

  Example: myArrayMap = UEAMapFile;

 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  METHODS:

  There are several available methods for mapfiles. Here's a list and a
  description of what they perform.

  Electrode2Channel(Electrode): 
    Will return the Channel number corresponding to a passed Electrode.

  Channel2Electrode(Channel):   
    Will return the Electrode number corresponding to a passed Channel.

  GetChannelBankID(Channel):
    Returns the BankID for a passed Channel.

  GetChannelPin(Channel):
    Returns the Pin for a passed Channel.

  GetChannelLabel(Channel):
    Returns the Label for a passed Channel.

  GenerateChannelSubplot(Channel):
    Returns a subplot handle for the passed Channel to be used in plotting
    UEA-like maps.

  GenerateChannelSubplotNames(Channel):
    Plots the names of channels and electrodes on the subplot corresponding
    to the passed Channel.

  GetChannelColumnRow(Channel):
    Returns the Column and Row positions of the passed number that is used
    to plot UEA-like maps.

  PlotCMP:
    Will plot a map of the CMP Map with all the electrode and channel
    names.

    Kian Torab
    ktorab@blackrockmicro.com
    Version 1.1.0.0

Superclasses

none

Properties

none

Methods

Method Description
closeConnection KTNSPOnline/closeConnection is a function.
dataCollectionReadBuffer KTNSPOnline/dataCollectionReadBuffer is a function.
dataCollectionStart if ~BA.dataCollectionIsActive
dataCollectionStop if obj.dataCollectionIsActive
detectChannelUnitFiredAll KTNSPOnline/detectChannelUnitFiredAll is a function.
detectChannelUnitFiredAny KTNSPOnline/detectChannelUnitFiredAny is a function.
detectChannelsFired KTNSPOnline/detectChannelsFired is a function.
detectDigInBinary KTNSPOnline/detectDigInBinary is a function.
detectDigInWord KTNSPOnline/detectDigInWord is a function.
detectWhenChannelUnitFiredAny KTNSPOnline/detectWhenChannelUnitFiredAny is a function.
detectWhenDigInBit KTNSPOnline/detectWhenDigInBit is a function.
detectWhenDigInWord KTNSPOnline/detectWhenDigInWord is a function.
getAllChannelLabels KTNSPOnline/getAllChannelLabels is a function.
getAmplitudeRejectionRange KTNSPOnline/getAmplitudeRejectionRange is a function.
getChannelLabel KTNSPOnline/getChannelLabel is a function.
getDigitalReferenceChannel KTNSPOnline/getDigitalReferenceChannel is a function.
getNSPTimeSamples KTNSPOnline/getNSPTimeSamples is a function.
getNSPTimeSeconds KTNSPOnline/getNSPTimeSeconds is a function.
getSpikeThresholdValue KTNSPOnline/getSpikeThresholdValue is a function.
isChannelSpikeExtractionEnabled KTNSPOnline/isChannelSpikeExtractionEnabled is a function.
isChannelUnitEnabled KTNSPOnline/isChannelUnitEnabled is a function.
onlineSpectogram KTNSPOnline/onlineSpectogram is a function.
openConnection KTNSPOnline/openConnection is a function.
recordingStart KTNSPOnline/recordingStart is a function.
recordingStop KTNSPOnline/recordingStop is a function.
sendNSPComment KTNSPOnline/sendNSPComment is a function.
sendNSPMarker KTNSPOnline/sendNSPMarker is a function.
setAmplitudeRejectionRange KTNSPOnline/setAmplitudeRejectionRange is a function.
setAnaOutPulse KTNSPOnline/setAnaOutPulse is a function.
setDigOutPulse KTNSPOnline/setDigOutPulse is a function.
setDigOutTTLHigh KTNSPOnline/setDigOutTTLHigh is a function.
setDigOutTTLLow KTNSPOnline/setDigOutTTLLow is a function.
setDigitalReferenceChannel KTNSPOnline/setDigitalReferenceChannel is a function.
setSpikeThresholdValue KTNSPOnline/setSpikeThresholdValue is a function.

Methods help

closeConnection - KTNSPOnline/closeConnection is a function.

closeConnection(obj)

dataCollectionReadBuffer - KTNSPOnline/dataCollectionReadBuffer is a function.

[spikeData, startTime, LFPData] = dataCollectionReadBuffer(obj)

dataCollectionStart - if ~BA.dataCollectionIsActive



dataCollectionStop - if obj.dataCollectionIsActive



detectChannelUnitFiredAll - KTNSPOnline/detectChannelUnitFiredAll is a function.

fireFlag = detectChannelUnitFiredAll(obj, channels, units)

detectChannelUnitFiredAny - KTNSPOnline/detectChannelUnitFiredAny is a function.

fireFlag = detectChannelUnitFiredAny(obj, channels, units)

detectChannelsFired - KTNSPOnline/detectChannelsFired is a function.

spikedChannels = detectChannelsFired(obj, units)

detectDigInBinary - KTNSPOnline/detectDigInBinary is a function.

[bitValues, bitTimestamps] = detectDigInBinary(obj)

detectDigInWord - KTNSPOnline/detectDigInWord is a function.

[bitValues, bitTimestamps] = detectDigInWord(obj)

detectWhenChannelUnitFiredAny - KTNSPOnline/detectWhenChannelUnitFiredAny is a function.

fireFlag = detectWhenChannelUnitFiredAny(obj, channels, units, timeWindow)

detectWhenDigInBit - KTNSPOnline/detectWhenDigInBit is a function.

fireFlag = detectWhenDigInBit(obj, bitsValue, timeWindow)

detectWhenDigInWord - KTNSPOnline/detectWhenDigInWord is a function.

fireFlag = detectWhenDigInWord(obj, wordValue, timeWindow)

getAllChannelLabels - KTNSPOnline/getAllChannelLabels is a function.

configValue = getAllChannelLabels(obj)

getAmplitudeRejectionRange - KTNSPOnline/getAmplitudeRejectionRange is a function.

ampRejRange = getAmplitudeRejectionRange(obj, channel)

getChannelLabel - KTNSPOnline/getChannelLabel is a function.

configValue = getChannelLabel(obj, channel)

getDigitalReferenceChannel - KTNSPOnline/getDigitalReferenceChannel is a function.

refChan = getDigitalReferenceChannel(obj, channel)

getNSPTimeSamples - KTNSPOnline/getNSPTimeSamples is a function.

NSPTime = getNSPTimeSamples(obj)

getNSPTimeSeconds - KTNSPOnline/getNSPTimeSeconds is a function.

NSPTime = getNSPTimeSeconds(obj)

getSpikeThresholdValue - KTNSPOnline/getSpikeThresholdValue is a function.

spikeThresh = getSpikeThresholdValue(obj, channel)

isChannelSpikeExtractionEnabled - KTNSPOnline/isChannelSpikeExtractionEnabled is a function.

isFlag = isChannelSpikeExtractionEnabled(obj, channel)

isChannelUnitEnabled - KTNSPOnline/isChannelUnitEnabled is a function.

isFlag = isChannelUnitEnabled(obj, channel, unit)

onlineSpectogram - KTNSPOnline/onlineSpectogram is a function.

onlineSpectogram(obj, frequencyRange)

openConnection - KTNSPOnline/openConnection is a function.

openConnection(obj)

recordingStart - KTNSPOnline/recordingStart is a function.

recordingStart(obj, fileName, userComment)

recordingStop - KTNSPOnline/recordingStop is a function.

recordingStop(obj)

sendNSPComment - KTNSPOnline/sendNSPComment is a function.

sendNSPComment(obj, comment)

sendNSPMarker - KTNSPOnline/sendNSPMarker is a function.

sendNSPMarker(obj, markerValue)

setAmplitudeRejectionRange - KTNSPOnline/setAmplitudeRejectionRange is a function.

setAmplitudeRejectionRange(obj, channel, newValue)

setAnaOutPulse - KTNSPOnline/setAnaOutPulse is a function.

setAnaOutPulse(obj, anaOutPortNum, pulseCount, frequency, pulseWidth)

setDigOutPulse - KTNSPOnline/setDigOutPulse is a function.

setDigOutPulse(obj, digOutPortNum, pulseCount, frequency, pulseWidth)

setDigOutTTLHigh - KTNSPOnline/setDigOutTTLHigh is a function.

setDigOutTTLHigh(obj, digOutPortNum)

setDigOutTTLLow - KTNSPOnline/setDigOutTTLLow is a function.

setDigOutTTLLow(obj, digOutPortNum)

setDigitalReferenceChannel - KTNSPOnline/setDigitalReferenceChannel is a function.

refChan = setDigitalReferenceChannel(obj, channel, newValue)

setSpikeThresholdValue - KTNSPOnline/setSpikeThresholdValue is a function.

setSpikeThresholdValue(obj, channel, newValue)