12 using namespace
14 string version
= "$Id: datarec_multi.cpp 1839 2010-03-05 17:04:34Z mmoorkamp $"
<< " This is datarec_multi: Calculate receiver functions simultaneously for several events"
<< " Reads in two lists of files with radial and vertical component file names, respectively"
cout << " Outputs a file multi.rec "
cout << " Some behaviour can be configured with the file calcrec.conf"
cout << " This is Version: "
<< endl << endl;
outfilename = "multi.rec"
std::string radlistname = AskFilename(
37 "File with list of radial filenames: "
std::string verlistname = AskFilename(
39 "File with list of vertical filenames: "
cerr << e.what() << endl;
tseiscompvector & GetList()
Return the content of the list for manipulation.
Manages a collection of seismic traces, mainly provides functionality to read in data specified in a ...
This class implements the multi-site receiver function calculation in the frequency domain as suggest...
void GetData(std::string filename)
void ReadList(const std::string filename)
read in a file with names and optionally coordinates
void CalcRecData(const SeismicStationList::tseiscompvector &RadComp, const SeismicStationList::tseiscompvector &VerComp, SeismicDataComp &Receiver)
Calculate the receiver function by spectral division.
int WriteAsSac(const std::string &filename) const
Write the data in sac binary format.
The basic exception class for all errors that arise in gplib.