1 | command SPECTRUM <trc-list> <n> [<lo-t> <hi-t>] <lo-f> <hi-f> <f-steps> |
---|
2 | ================ |
---|
3 | |
---|
4 | key: MEM power spectrum |
---|
5 | |
---|
6 | Computes power spectrum of traces given by <trc-list>. <n> specifies |
---|
7 | the number of poles used for the approximation. <lo-t>,<hi-t> |
---|
8 | selects a time window on the input traces. If omitted the trace |
---|
9 | window on the current display is used. <lo-f>,<hi-f> specifies |
---|
10 | the frequency range (in Hz) for the resulting output traces. |
---|
11 | <f-steps> is the number of samples on the output traces. For the |
---|
12 | output trace the horizontal axis gives the frequency in Hz, unless |
---|
13 | the "/log" qualifier is specified. |
---|
14 | |
---|
15 | |
---|
16 | parameters |
---|
17 | ---------- |
---|
18 | |
---|
19 | <trc-list> --- parameter type: trace list |
---|
20 | List of traces to compute power spectrum. |
---|
21 | |
---|
22 | <n> --- parameter type: integer |
---|
23 | Number of poles (order of approximation). |
---|
24 | |
---|
25 | <lo-t>, <hi-t> --- parameter type: real |
---|
26 | Time window on input traces. If not specified the current |
---|
27 | display window is used. If <lo-t> is an astrisk ("*") |
---|
28 | you can select the window by graphic cursor. |
---|
29 | |
---|
30 | <lo-f>, <hi-f> --- parameter type: real |
---|
31 | Frequency range to compute the output traces (in Hz). |
---|
32 | |
---|
33 | <f-steps> --- parameter type: integer |
---|
34 | Number of samples on output traces. The output traces range |
---|
35 | from <lo-f> Hz to <hi-f> Hz using <f-steps> equidistant |
---|
36 | sample values. |
---|
37 | |
---|
38 | |
---|
39 | qualifiers |
---|
40 | ---------- |
---|
41 | |
---|
42 | /log |
---|
43 | The spectrum is computed in logarithmic steps. Be sure that |
---|
44 | in this case <lo-t> is not zero. For the output trace the |
---|
45 | horizontal axis gives the logarithm of the frequency (in Hz). |
---|
46 | |
---|
47 | |
---|
48 | examples |
---|
49 | -------- |
---|
50 | |
---|
51 | spectrum all 50 0. 50. .05 3. 200 |
---|
52 | ! computes power spectrum of all traces on display in the |
---|
53 | ! time window between 0 and 50 seconds. The output traces |
---|
54 | ! range from .05 Hz (20 sec) to 3 Hz using 200 samples. |
---|
55 | |
---|
56 | spectrum 1 30 *;; .1 4. 300 |
---|
57 | ! computes power spectrum of first trace on display from |
---|
58 | ! 10 sec to 4 Hz using 300 samples. The time window on the |
---|
59 | ! input trace must be selected by graphic cursor. |
---|
60 | |
---|
61 | spectrum/log 1 30 *;; .1 100. 300 |
---|
62 | ! Similar to above command except the frequency window and |
---|
63 | ! the logarithmic frequency steps. |
---|
64 | |
---|