1 | # |
---|
2 | # ewspectra Configuration File |
---|
3 | # |
---|
4 | MyModuleId MOD_EWSPEC # ewspectra's module id |
---|
5 | |
---|
6 | wsTimeout 1000 # timeout, in seconds, for talking to waveservers |
---|
7 | |
---|
8 | # Waveservers to listen to: IP Port |
---|
9 | # Can have up to 20 |
---|
10 | WaveServer 128.97.24.133 16022 |
---|
11 | |
---|
12 | WSDebug 3 # Debugging level of communication w/ waveserver |
---|
13 | |
---|
14 | ### |
---|
15 | ### Specify which SCNLs to process & what operation to perform on them |
---|
16 | ### |
---|
17 | |
---|
18 | # Produce spectra from a specific SCNL |
---|
19 | # If writing to a ring, second SCNL is needed to be used in messages written |
---|
20 | PlainSpectraSCNL 5405 HNN NP GE |
---|
21 | #PlainSpectraSCNL 5405 HNE NP GN |
---|
22 | |
---|
23 | # Produce spectra from the difference between first SCNL and second |
---|
24 | # If writing to a ring, third SCNL is needed to be used in messages written |
---|
25 | #DiffSpectraSCNLs 5405 HNE NP DS 5405 HNE NP XW |
---|
26 | |
---|
27 | # Produce spectra from the deconvolution of the second SCNL from the first |
---|
28 | # If writing to a ring, third SCNL is needed to be used in messages written |
---|
29 | #DeconvolveSpectraSCNLs 5405 HNN NP GE 5405 HNN NP XE 5405 HNN NP S1 |
---|
30 | #DeconvolveSpectraSCNLs 5405 HNN NP XE 5405 HNN NP GE 5405 HNN NP S2 |
---|
31 | |
---|
32 | ### |
---|
33 | ### Specify timespan of data to process |
---|
34 | ### |
---|
35 | |
---|
36 | # Timespan of data to process: Start Duration |
---|
37 | # Start is either YYYYMMDDHHMMSS or -S (for S seconds before now) |
---|
38 | # Duration is in seconds |
---|
39 | #TimeSpan -3600 29 |
---|
40 | #TimeSpan 20110329070000 29 |
---|
41 | |
---|
42 | TimeSpan 20110418000000 29 # 1st sample |
---|
43 | #TimeSpan 20110414010000 2 # 2nd sample (hour later) |
---|
44 | |
---|
45 | #InRing TEST_RING # Transport ring to find COMPUTE_SPECTRA messages on |
---|
46 | |
---|
47 | ### |
---|
48 | ### Specify options for pre-processing the timeseries data |
---|
49 | ### before computing the SPECTRA |
---|
50 | ### |
---|
51 | |
---|
52 | # Taper source data: Type Fraction |
---|
53 | # Type is either BARTLETT, HANNING, PARZAN, or BMHARRIS |
---|
54 | # Fraction is how much of each end of data is tapered |
---|
55 | Taper HANNING 0.1 |
---|
56 | |
---|
57 | # Butterworth filters: CutoffFreq Poles |
---|
58 | # CutoffFreq is the cutoff frequency |
---|
59 | # Poles is the number of poles used (must be an even number) |
---|
60 | # LowCut = highpass filter (cut frequencies below CutoffFreq) |
---|
61 | # HighCut = lowpass filter (cut frequencies above CutoffFreq) |
---|
62 | LowCut 0.1 4 |
---|
63 | HighCut 2.0 4 |
---|
64 | |
---|
65 | ### |
---|
66 | ### Optional smoothing of SPECTRA |
---|
67 | ### |
---|
68 | Smooth 0.1 # Source data smoothing; argument is size of window in secs |
---|
69 | |
---|
70 | |
---|
71 | ### |
---|
72 | ### Specify data to include in output & where it should go |
---|
73 | ### |
---|
74 | |
---|
75 | #ReportPeaks 6 0.4 0.8 # Report the top N peaks between the two frequencies |
---|
76 | ReportSpectra # Report the full computed spectra |
---|
77 | |
---|
78 | OutRing HYPO_RING # Transport ring to write SPECTRA and/or SPECTRA_PEAK messages to |
---|
79 | #OutFile ./ews_out.txt # File to write spectra and/or peak info to |
---|