spectral_ac: Spectral autocorrelation

Description Usage Arguments Value

View source: R/autocorrelation.R

Description

Autocorrelation of a spectrum. Generally, a high autocorrelation is associated with high signal, while white noise is not autocorrelated.

Usage

1
spectral_ac(x, lag = 1, colname = "spectral_ac")

Arguments

x

a hyperSpec object.

lag

lag at which the autocorrelation is calculated.

colname

name of the data column to be added to x@data, containing the autocorrelation coefficient.

Value

a hyperSpec object such as given for x with an additional column in x@data.


konradmayer/hyperSpec.utils documentation built on May 2, 2021, 4:17 a.m.