signal_pad function

Pad signal with zeros.

Pad signal with zeros.

The function adds zeros to the input vector to reach a length, corresponding to the next higher power of two.

signal_pad(data)

Arguments

  • data: eseis object, numeric vector or list of objects, data set to be processed.

Returns

Numeric vector or list of vectors, signal vector with added zeros.

Examples

## load example data set data(rockfall) ## pad with zeros rockfall_pad <- signal_pad(data = rockfall_eseis) ## compare lengths rockfall_eseis$meta$n rockfall_pad$meta$n

Author(s)

Michael Dietze

  • Maintainer: Michael Dietze
  • License: GPL-3
  • Last published: 2025-03-25

Useful links