cwt: Apply the continuous wavelet transform to a signal

Description Usage Arguments Details Value Attribution See Also

Description

cwt returns a matrix of wavelet coefficients for the specified scales.

Usage

1
cwt(obs, scales, psi = "mexh")

Arguments

obs

vector of the time dependent signal. In our case, intensities.

scales

vector of the wavelet scales which to apply.

psi

the wavelet to apply. "mexh", "nmexh" or a data.frame containing the wavelet.

Details

This function is a modification of the original cwt code provided by the centWave algorithm [1], [2] and [3].

Value

A matrix, rows corresponding to wavelet scales, columns to time.

Attribution

This code was modified from the originally published centWave algorithm [1]. The code was orginally distributed and obtained under the GPL2 license via the xcms software package [2]. The original algorithms depend on the wavelet analysis code included in the MassSpecWavelet package [3]. All code herein was obtained under the GPL2 license and remains under the GPL 3 license or greater.

See Also


nathaniel-mahieu/centWaveP documentation built on May 23, 2019, 12:19 p.m.