R: Ricker Wavelet

genrick {RSEIS} | R Documentation

## Ricker Wavelet

### Description

Generate a ricker wavelet of a specfied frequency and length

### Usage

    genrick(freq, dt, nw)

### Arguments

`freq` | frequency of ricker wavelet
`dt` | Time sample rate (s)
`nw` | length of wavelet.

### Value

ricker wavelet as a vector.

### Note

Original code by Leonard Lisapaly (leonardl@fisika.ui.ac.id), converted to R by J.M. Lees.

### Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

### Examples

    dt <- 0.01
    freq <- 16
    nlen <- 35

    G <- genrick(freq, dt, nlen)

    tee <- seq(from=0, by=dt, length=length(G))

    plot(tee, G, type='l')

[Package RSEIS version 3.7-4 Index]