GPLIB++
Functions | Variables
calcrec.cpp File Reference
#include <iostream>
#include <string>
#include <algorithm>
#include <boost/math/constants/constants.hpp>
#include "Util.h"
#include "RecCalc.h"
#include "CalcRecConf.h"
#include "SeismicDataComp.h"
#include "FatalException.h"
#include "FilterFunc.h"
#include "statutils.h"
#include "miscfunc.h"
#include "NumUtil.h"
#include "RFVelCalc.h"

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Variables

string version = "$Id: calcrec.cpp 1881 2014-02-25 16:20:58Z mmoorkamp $"
 

Detailed Description

This program calculates a receiver function from single radial and vertical components. When started the program only asks for the name of the files for these two components. The output receiver function has the same name as the radial component with .rec appended. All other aspects of the calculation are specified in the file calcrec.conf in the directory in which the program is executed.

The parameters for that file are as follows:

Name Description
recmethod Can be specdiv for spectral division method or iterdecon for iterative deconvolution.
omega The center of the gaussian used to filter the receiver function during estimation.
sigma The width of the gaussian used to filter the receiver function during estimation. Larger values mean a more broad band reciever function that contains more detailed structure but is also susceptible to noise.
shift The shift in seconds of the initial correlation peak. This is purely used for display purposes.
cc (only specdiv) The waterlevel relative to the maximum autopower of the vertical component.
upperfreq The upper frequency in Hz for the bandpass filter, if negative or not set it is ignored
lowerfreq The lower frequency in Hz for the bandpass filter, if negative or not set it is ignored

More details about these parameters can be found for example in Langston, 1979, JGR 84(B9) 4749-4762 Liggoria, 1999, BSSA 89(5), 1395-1400

Definition in file calcrec.cpp.

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Variable Documentation

string version = "$Id: calcrec.cpp 1881 2014-02-25 16:20:58Z mmoorkamp $"

Definition at line 43 of file calcrec.cpp.

Referenced by main().