test_data {Convolutioner}R Documentation

Test data generator

Description

Generate test data in order to test the filtering functions. To a signal function is added random noise contribution. V0.1 = noise is assumed gaussian

Usage

test_data(
  amplitude = 1,
  f = 100,
  npoints = 1000,
  type = "sinusoidal",
  x0 = 0,
  noise_contribution = 100
)

Arguments

amplitude

amplitude of the signal, default = 1

f

frequency of the sinusoidal signal, default = 100

npoints

number of points of the time serie

type

type of signal, default = sinusoidal. Available types: sinusoidal, gaussian

x0

signal position for gaussian type. Default = 0

noise_contribution

percentage pointing the maximum wanted signal/noise ratio. Default = 10

Value

A time serie with added random noise.

Examples

test_data()


[Package Convolutioner version 0.1.0 Index]