PlotResp: Plot Instrument Responses

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/PlotResp.R

Description

Plots responses of analog and digital poles/zeros lists.

Usage

1
PlotResp(PZ, DPZ, fmin = 0.01)

Arguments

PZ

Poles and zeros of continuous instrument response

DPZ

Digital poles and zeros of discrete instrument response

fmin

Minimum frequency to plot

Details

PZ and DPZ must contain the elements poles, zeros, np, nz, Knorm, and Sense. Additionally, DPZ must contain the element dt.

Value

Graphical side effects only.

Author(s)

Jake Anderson

See Also

PZ2Resp

Examples

1
2
3
4
5
# Response of Guralp CMG-40T

PZ = GetPZ(12)[[1]]
DPZ = GetDPZ(12, 1)[[1]]
PlotResp(PZ, DPZ, fmin = 1/50)

Example output

Loading required package: signal

Attaching package: 'signal'

The following objects are masked from 'package:stats':

    filter, poly

Loading required package: RSEIS
Loading required package: pracma

Attaching package: 'pracma'

The following objects are masked from 'package:RSEIS':

    detrend, hypot, logspace, peaks, trapz

The following objects are masked from 'package:signal':

    conv, ifft, interp1, pchip, polyval, roots


Attaching package: 'TDD'

The following object is masked from 'package:RSEIS':

    ReadInstr

TDD documentation built on May 2, 2019, 4:51 a.m.

Related to PlotResp in TDD...