add_notches: Add notch-like gaussian snippets to an existing signal x

Description Usage Arguments Value

View source: R/common_tools.R

Description

Add notch-like gaussian snippets to an existing signal x

Usage

1
add_notches(x, pos, sd = 0.01 * length(x), amplitude = 1)

Arguments

x

[1,N] numeric, Original data

pos

[1,m] integer, Positions to add notches to

sd

[1,1] numeric, (optional) Desired width of the Gaussian notch

amplitude

[1,1] numeric, (optional) Desired amplitude for the notches

Value

[1,N] numeric, Modified signal with notches


cocoreg documentation built on May 2, 2019, 6:48 a.m.