expConv: Empirical Convolution Between an Input Function and a Single...

Description Usage Arguments Details Value Author(s)

View source: R/model.R

Description

Computationally efficient method to convolve a vector of observations and a single exponential function with two parameters.

Usage

1
expConv(input, k1, k2)

Arguments

input

is the so-called input function.

k1

is the scaling parameter in the single exponential function.

k2

is the decay parameters in the single exponential function.

Details

Assuming the input function has been sampled (or interpolated) to a high temporal resolutions, say one Hertz, a simple for loop is used to perform the convolution.

Value

The vector containing the result from the convolution operation.

Author(s)

Brandon Whitcher bwhitcher@gmail.com


oro.pet documentation built on May 30, 2017, 1:44 a.m.

Search within the oro.pet package
Search all R packages, documentation and source code