testmoveout.cpp

Go to the documentation of this file.
00001 #include "MoveoutCorrection.h"
00002 #include "SeismicDataComp.h"
00003 #include "ResPkModel.h"
00004 #include <iostream>
00005 #include <string>
00006 #include "Util.h"
00007 using namespace std;
00008 int main()
00009 {
00010         const double refslow = 0.05;
00011         ResPkModel Model;
00012         Model.GetData("testLAB.rf.mod");
00013         MoveoutCorrection Moveout(refslow,Model);
00014         string infilename;
00015         SeismicDataComp Rec;
00016         infilename = AskFilename("Filename: ");
00017         Rec.GetData(infilename);
00018         double slowness = 0.07;
00019         cout << "Slowness: ";
00020         cin >> slowness;
00021         
00022         Moveout.DoCorrection(Rec,slowness);
00023         Rec.WriteAsSac(infilename+".mov");
00024 }

Generated on Mon Sep 15 12:54:34 2008 for GPLIB++ by  doxygen 1.5.5