1 | command AM [<trc> <lo-time> <hi-time>] [<min>] [<max>] [<minpos>] [<maxpos>] |
---|
2 | ========== |
---|
3 | |
---|
4 | key: determine amplitude |
---|
5 | ! version 1, 5-May-92 |
---|
6 | |
---|
7 | Determines maximum amplitude of trace <trc> within time window |
---|
8 | from <lo-time> to <hi-time>. If no parameter is specified the |
---|
9 | trace and the time window is selected simultaneously by graphic cursor. |
---|
10 | If no output parameter is specified the result is displayed on |
---|
11 | the dialog channel(s). |
---|
12 | |
---|
13 | |
---|
14 | parameters |
---|
15 | ---------- |
---|
16 | |
---|
17 | <trc> --- parameter type: trace |
---|
18 | Trace to determine maximum amplitude |
---|
19 | |
---|
20 | <lo-time>, <hi-time> --- parameter type: real |
---|
21 | Time window to search for maximum amplitude. If no parameter is |
---|
22 | specified the trace and time window is selected simultaneously |
---|
23 | by graphic cursor. |
---|
24 | |
---|
25 | <min> --- parameter type: symbol address |
---|
26 | Output symbol for minimum value |
---|
27 | |
---|
28 | <max> --- parameter type: symbol address |
---|
29 | Output symbol for maximum value |
---|
30 | |
---|
31 | <minpos> --- parameter type: symbol address |
---|
32 | Output symbol for position of minimum (relative time) |
---|
33 | |
---|
34 | <maxpos> --- parameter type: symbol address |
---|
35 | Output symbol for position of maximum (relative time) |
---|
36 | |
---|
37 | |
---|
38 | qualifiers |
---|
39 | ---------- |
---|
40 | |
---|
41 | /nomark |
---|
42 | Selections are not marked on display |
---|
43 | |
---|
44 | /abs |
---|
45 | <max> contains largest absolute value in specified time window |
---|
46 | |
---|
47 | |
---|
48 | examples |
---|
49 | -------- |
---|
50 | |
---|
51 | am 1 0. 10. ! determine maximum and minimum of first trace |
---|
52 | ! between 0 and 10 sec and display it on screen |
---|
53 | |
---|
54 | am 1 0. 10. &min &max ! determine maximum and minimum of first trace |
---|
55 | ! between 0 and 10 sec and store results in |
---|
56 | ! symbols "min" and "max" |
---|
57 | |
---|
58 | am 1 0. 10. ;;;;&MAXPOS ! determine position of maximum between 0 |
---|
59 | ! and 10 sec of first trace and store it |
---|
60 | ! in symbol "maxpos" |
---|
61 | |
---|