Learn R Programming

RSEIS (version 3.5-2)

INSTresponse: Instrument Respnse Function

Description

Extract Instrument Response from Poles and Zeros

Usage

INSTresponse(Kal, key, ff, tt = tt, plotkey = NULL)

Arguments

Kal
Calibration
key
index to list of instruments
ff
frequency vector
tt
time vector
plotkey
TRUE = plot

Value

List:
transfer
transfer function
aa
a coeficients
bb
b coeficients
resp
real part of response

Details

response is fourier transform of delta function run through the filter

References

Adapted from Ken Creager's Matseis

See Also

deconinst

Examples

Run this code


########  set list of possible instruments:
Kal  <-  PreSet.Instr()
###  get instrument reponse for first in list:
resp1   <-  INSTresponse(Kal, 1, c(0,100)  , tt=c(1,0.008), plotkey=TRUE)
###  plots amplitude and phase

Run the code above in your browser using DataLab