-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME
44 lines (33 loc) · 1.21 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
sacpz2resp.py - Convert a Sac Pole Zero file into a Amplitude/Phase Response
pz2resp.py - Convert a Sac Pole Zero file into a Resp formatted file
sacpz2resp.py --help
Option -f filename
Sac Pole Zero file should be in an output format as output from rdseed
Keys:
ZEROS nzeros
zero [ real, imaginary ]
...
POLES npoles
pole [ real, imaginary ]
...
CONSTANT constant value
Option -u units
dis - Displacement [ Zeros are not changed ]
vel - Velocity [ One Zero is removed ]
acc - Acceleration [ Two Zeros are removed ]
Output on stdout
Frequency (Hz) Amplitude (meters) Phase (radians)
Internals:
freq = frequency Hz
z_i Zeros
p_i Poles
min_freq, max_freq Minimum and Maximum Frequencies
npts Number of Points to Evaluate
delta Spacing in seconds of the time series
(max_freq - min_freq)
delta_freq = ------------------------
(npts * delta)
w = 2 * pi * f Angular Frequency, Radians
(w-z_0) (w-z_1) ... (w-z_n)
R(w) = C * -----------------------------
(w-p_0) (w-p_1) ... (w-p_n)