APanalysis: Analysis function for APs Includes a collection of...

View source: R/APanalysis.R

APanalysisR Documentation

Analysis function for APs Includes a collection of descriptive statistics for each action potential.

Description

Analysis function for APs Includes a collection of descriptive statistics for each action potential.

Usage

APanalysis(
  x,
  rate,
  eONi,
  eOFFi,
  bw = 2,
  minpeakheight = -10,
  minpeakdistance = 0.005 * rate
)

Arguments

x

sweep vector

rate

numeric sampling frequency

eONi

numeric index start of epoch check

minpeakheight

numeric

eOFF

numeric index end of epoch for check

Value

dataframe

Examples


## Not run: 
x = sweep
x = data[,"data_00075_AD0"]
minpeakheight = -10
rate = 50000
rate = unique(smryDF$sampling_rate)
bw = 2
minpeakheight = -10
minpeakdistance = .005*rate
rate = smryDF$rate[1]
eONi = smryDF$eONi[1]
eOFFi = smryDF$eOFFi[1]

## End(Not run)


NRSC/nphys documentation built on Nov. 13, 2024, 2:12 a.m.