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)))

Tobias-Ruff/relectro_bak documentation built on May 3, 2019, 6:43 p.m.