1 | |
---|
2 | Quick Guide to SH (Workshop on Moment Tensor Inversion 2000) |
---|
3 | ============================================================ |
---|
4 | |
---|
5 | |
---|
6 | General Remarks |
---|
7 | --------------- |
---|
8 | |
---|
9 | - command line interpreter is not case-sensitive |
---|
10 | - command line consists of command-verb, parameters and qualifiers |
---|
11 | - separation characters are blanks " " or semicolons ";" |
---|
12 | - qualifiers are preceded by a slash. |
---|
13 | - delete scratch files in directory shscratch from time to time |
---|
14 | |
---|
15 | |
---|
16 | Some Commands |
---|
17 | ------------- |
---|
18 | |
---|
19 | |
---|
20 | - start SH |
---|
21 | SH |
---|
22 | |
---|
23 | - open graphics window |
---|
24 | XOPEN;; on X-Window system |
---|
25 | |
---|
26 | - exiting from SH |
---|
27 | QUIT |
---|
28 | |
---|
29 | - help *** BUG on Linux installation *** |
---|
30 | HELP directory of (almost all) available commands |
---|
31 | HELP HELP explanation of HELP command |
---|
32 | HELP/KEY directory with brief description |
---|
33 | HELP/CALL directory with calling syntax |
---|
34 | HELP <cmd> detailed help on command <cmd>, example: HELP HELP |
---|
35 | |
---|
36 | - read & write commands |
---|
37 | READA <filename> [<dt> <length>] |
---|
38 | reads data from ASCII files |
---|
39 | READS <path> <time> <seclength> <stations> <comps> <chan> |
---|
40 | reads from Mini-SEED files (special SH subformat) |
---|
41 | READ <q-file> <list> reads data from q-file (private SH data format) |
---|
42 | WRITE <q-file> <list> |
---|
43 | writes data to q-file |
---|
44 | |
---|
45 | - redraw display |
---|
46 | RD redraws display |
---|
47 | NR disables automatic redrawing (re-enable with RD) |
---|
48 | |
---|
49 | - set & delete time windows |
---|
50 | STW set time window |
---|
51 | DTW delete time window |
---|
52 | |
---|
53 | - pick time position on traces |
---|
54 | TIME gives absolute and relative time, also difference |
---|
55 | time to last pick, exit with "E"-key |
---|
56 | |
---|
57 | - delete traces |
---|
58 | DEL <list> deletes all traces of <list> |
---|
59 | |
---|
60 | - shift traces |
---|
61 | SHIFT <list> <time> shift all traces in <list> by <time> seconds |
---|
62 | SHIFT ALL TIME_AL shift traces according to their position in absolute |
---|
63 | time |
---|
64 | T-ALIGN repositions all traces correct in time |
---|
65 | |
---|
66 | |
---|
67 | - trace amplitudes |
---|
68 | NORM AF default setting. Traces are normalized to the maximum |
---|
69 | value of all traces on the display |
---|
70 | NORM SF all traces are displayed with the same amplitude |
---|
71 | ZOOM <list> <f> all traces in <list> are amplified by a factor of <f> |
---|
72 | this is independent from the NORM command |
---|
73 | |
---|
74 | - filtering traces (FFT filters) |
---|
75 | FILI F <filter> read in filter file (contains poles and zeroes) |
---|
76 | FILTER F <list> filters list of traces |
---|
77 | MAKEF calls external program to create filter files |
---|
78 | |
---|
79 | - location of events |
---|
80 | LOCATE computes azimuth and slowness for picked phase |
---|
81 | exit with "E"-key |
---|
82 | Traces MUST have the correct position in time ! |
---|
83 | ensure with the command T-ALIGN. |
---|
84 | |
---|
85 | - beaming of traces |
---|
86 | DELAY+SUM <list> <a> <s> |
---|
87 | shifts traces to align a phase coming from an azimuth |
---|
88 | of <a> and a slowness of <s>. Traces are aligned |
---|
89 | in time automatically before operation. |
---|
90 | |
---|
91 | - summing of traces |
---|
92 | SUM <list> sums all traces specified in <list> |
---|
93 | |
---|
94 | - hardcopy |
---|
95 | PHC;; creates PostScript file and sends it to laser printer |
---|
96 | TITLE <n> <t> puts a title line on the display |
---|
97 | |
---|
98 | - rotation of traces |
---|
99 | ROTAZ <list> <azim> rotates horizontal traces to R and T |
---|
100 | |
---|
101 | - particle motion diagrams |
---|
102 | PMSTART <wdwsize> opens separate window of size <wdwsize> x <wdwsize> cm. |
---|
103 | PM/MWDW <list> <wd> particle motion diagrams of N pairs of traces given by |
---|
104 | 2N elements in <list>. <wd> is width of time window. |
---|
105 | PM3 <wd> abbreviation of PM/MWDW 2,1,3,2,3,1 <wd> |
---|
106 | if 3 traces are on the display, same for 6 and 9 traces |
---|
107 | PMEND closes PM window |
---|
108 | Before using the PM command, set an appropriate time |
---|
109 | window with the STW command. |
---|
110 | |
---|
111 | - utilities |
---|
112 | DEMEAN <list> removes mean value |
---|
113 | TREND <list> removes linear trend |
---|
114 | DESPIKE <list> <f> removes spikes |
---|
115 | DECIMATE <list> <f> decimate traces (average deleted samples) |
---|
116 | CUT <list> <lo> <hi> cuts traces at the specified time bounds |
---|
117 | MARK <trc> <time> marks trace (marks can be labelled, see HELP MARK) |
---|
118 | SYSTEM access to UNIX shell |
---|
119 | @ execute single command case sensitive |
---|
120 | |
---|
121 | |
---|
122 | |
---|