GPLIB++
|
#include <iostream>
#include <string>
#include "SeismicDataComp.h"
#include <algorithm>
#include "Util.h"
#include <boost/random/lagged_fibonacci.hpp>
#include <boost/random/normal_distribution.hpp>
#include <boost/random/variate_generator.hpp>
#include <boost/bind.hpp>
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
This program adds random gaussian noise to a single sac file. The noise level is specified relative to the maximum amplitude in the time series. The noise is completely random and uncorrelated between datapoints. This might not be very typical for seismic noise that is often signal generated and has characteristic frequencies, but seems to be sufficient to perform basic tests on synthetic data.
Definition in file seisnoise.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 21 of file seisnoise.cpp.
References gplib::TimeSeriesComponent::GetData(), gplib::SeismicDataComp::ReadData(), version, and gplib::SeismicDataComp::WriteAsSac().