|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)|
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.