Changes between Version 1 and Version 2 of ewspectra


Ignore:
Timestamp:
03/25/12 13:46:54 (9 years ago)
Author:
branden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ewspectra

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