Add notch-like gaussian snippets to an existing signal x

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


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.