gaussify_onsets: Create a continuous vector of onsets with a sampling in Hz

View source: R/gaussify_onsets.R

gaussify_onsetsR Documentation

Create a continuous vector of onsets with a sampling in Hz

Description

This is a conversion function that turns onsets into sampled time-series.

Usage

gaussify_onsets(data = NULL, sr = 500, wlen = 0.04, plot = FALSE, time = TRUE)

Arguments

data

Data frame to be processed with discrete time points (required)

sr

Sampling rate (default 500 Hz)

wlen

Window length of percentage of the sr (default 4)

plot

If a plot is needed (optional)

time

Time samples to be included in the output (optional)

Value

Output contain vector of onset times


tuomaseerola/onsetsynch documentation built on Jan. 17, 2024, 10:58 a.m.