detectDowns: Detect the negative deflection of a ttl pulse in a vector

Description Usage Arguments Value Examples

View source: R/Ttl.R

Description

Detect the negative deflection of a ttl pulse in a vector

Usage

1
detectDowns(x, threshold = 10000)

Arguments

x

numeric vector containing the data

threshold

amplitude of the negative deflections to be considered

Value

indices at which the negative deflections were detected in x

Examples

1
 detectDowns(x=c(rep(0,10),rep(20000,10)))

kevin-allen/relectro documentation built on May 20, 2019, 9:06 a.m.