Calculate standard deviation given a time interval of each trace.
- Clone this repo by THIS COMMAND:
git clone https://github.com/Cuda-Chen/ms2rms.git - Type
maketo compile.
$ ./ms2rms [mseedfile] [time window size] [window overlap] [a|r|j]
Where:
time window size: measured in seconds. It should always bigger than0.window overlap: measured in percentage. It should always smaller than100.a|r|j: indicate output file format.- r: rms only
- j: json only
- a: rms and json
<time stamp of the first window>,<station>,<network>,<channel>,<location>,<CR><LF>
<time difference between this window to the first window>,<mean>,<SD>,<min>,<max>,<minDemean>,<maxDemean>,<CR><LF>
<time difference between this window to the first window>,<mean>,<SD>,<min>,<max>,<minDemean>,<maxDemean>,<CR><LF>
...
- This program can ONLY accept single channel record. Multiple channels result in incorrect output.
- The
rmsandmeanvalue are rounded to hundrendth place.