https://github.com/cuda-chen/ms2rms
Calculate standard deviation given a time interval of each trace.
https://github.com/cuda-chen/ms2rms
libmseed miniseed seismology standard-deviation
Last synced: over 1 year ago
JSON representation
Calculate standard deviation given a time interval of each trace.
- Host: GitHub
- URL: https://github.com/cuda-chen/ms2rms
- Owner: Cuda-Chen
- License: mit
- Created: 2020-02-14T01:50:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-15T06:17:45.000Z (about 5 years ago)
- Last Synced: 2025-01-31T10:14:47.345Z (over 1 year ago)
- Topics: libmseed, miniseed, seismology, standard-deviation
- Language: C
- Homepage:
- Size: 141 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: LICENSE
Awesome Lists containing this project
README
# ms2rms
Calculate standard deviation given a time interval of each trace.
# How to Compile
1. Clone this repo by THIS COMMAND: `git clone https://github.com/Cuda-Chen/ms2rms.git`
2. Type `make` to compile.
## Dependencies
- [libmseed](https://github.com/iris-edu/libmseed)
# Usage
```
$ ./ms2rms [mseedfile] [time window size] [window overlap] [a|r|j]
```
Where:
- `time window size`: measured in seconds. It should always bigger than `0`.
- `window overlap`: measured in percentage. It should always smaller than `100`.
- `a|r|j`: indicate output file format.
- r: rms only
- j: json only
- a: rms and json
# Output Format
## .rms
```
# Note
- This program can ONLY accept single channel record.
Multiple channels result in incorrect output.
- The `rms` and `mean` value are rounded to hundrendth place.