deriveComparisonValues: deriveComparisonValues

View source: R/frequency_domain_functions.R

deriveComparisonValuesR Documentation

deriveComparisonValues

Description

'deriveComparisonValues' derives the dominant frequency and the mean power spectral density from a frequency spectrum

Usage

deriveComparisonValues(spectrum, freqBins)

Arguments

spectrum

An object of class "spec"

freqBins

Vector containing frequency values that define the frequency bins (can be derived using the function 'deriveBins')

Value

Data.frame consisting of two columns:

domFreq

The dominant frequency of the signal in each frequency bin, i.e. frequency associated with the maximum value

meanPSD

The mean power spectral density of the signal in each frequency bin


wadpac/mechanicalshakerexperiments documentation built on July 2, 2024, 11:49 p.m.