GPLIB++
Functions
plotmtt.cpp File Reference
#include "MTStation.h"
#include <boost/function.hpp>
#include "Util.h"
#include <iostream>
#include <iomanip>
#include <fstream>

Go to the source code of this file.

Functions

void WriteToFile (string filename, boost::function< double(const MTTensor *)> datafunc, boost::function< double(const MTTensor *)> errfunc, const MTStation &Data)
 
int main (int argc, char *argv[])
 

Detailed Description

Calculate apparent resistivity and phase from a .mtt, .edi or .j file and write one file with error information for each component to use for plotting. The program will automatically append .rxx, .rxy, .ryx and .ryy for the four apparent resistivities and .pxx, .pxy, .pyx and .pyy for the four phases respectively. It also outputs the apparent resistivity and phases of the Berdichevskiy invariant in the files .rberd and .pberd, respectively. Each file contains lines with Period in seconds, the respective datum and its error.

Definition in file plotmtt.cpp.