Description Usage Arguments Details Value Author(s) Examples
Returns complex instrument response for a vector of frequencies and set of analog poles and zeros. Optionally plots the magnitude of the instrument response.
1 |
PZ |
Analog poles and zeros |
f |
Vector of frequencies for which response is calculated |
PLOT |
Logical: whether to plot magnitude of response |
The response is calculated by the following equation: R(s) = PZ$Sense * PZ$Knorm * prod(s - PZ$zeros)/prod(s - PZ$poles)
where s = 2 * pi * 1i * f.
PZ requires the following elements: poles: Vector of poles np: number of poles zeros: Vector of zeros nz: Number of zeros Knorm: Normalization constant Sense: Instrument sensitivity (V/(m/s))
Vector of instrument response values corresponding to the frequencies in f.
Jake Anderson
1 2 3 4 5 6 7 |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.