wave_topfreq: Calculate and Extract the top frequency for each waveform...

wave_topfreqR Documentation

Calculate and Extract the top frequency for each waveform instance

Description

The function wave_topfreq calculates the main/top frequency for each waveform instance in labeled data.

Usage

wave_topfreq(data)

Arguments

data

A dataframe containing three columns: time, volts, waveform.

Details

Labeled data is grouped by each waveform instance and the Fourier transform is then used to extract the top frequency via the epgminer function topfreq. Frequency is reported in Hz.

The waveform type 'pd' without any splitting into subforms is calculated separately. As a result, the pd calculations will appear all at the end of the table. The subforms, pd1 and pd2, will appear in sequence.

Value

A tibble object containing a row per waveform instance and two columns, waveform and frequency, is returned.

See Also

Other frequency related functions: mainfreqs(), plot_fbox(), plot_fft(), single_fft(), topfreq()

Other waveform functions: plot_pie(), plot_wave(), wave_duration(), wave_extract(), wave_occurrence(), wave_volts()


LylChun/EPGminer documentation built on Aug. 28, 2023, 12:30 a.m.