GPLIB++
|
#include <iostream>
#include <string>
#include "Util.h"
#include "C1DMTSynthData.h"
#include <iterator>
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
This is the cagniard algorithm to calculate synthetic 1D forward responses for MT. It reads in model files in the following simple format:
No. of layers | |
Thickness in km | Resistivity in |
The user has to specify the output filename without the ending. ".mtt" will be appended automatically to indicate that this file is in Goettingen .mtt format.
There are two different modes: In standard mode (mode 0) the frequencies at which the responses are calculated are based on some realistic frequencies used in deep MT surveys (300Hz - 10.000s). In mode 1 the user can specify a window length and sampling rate and the output frequencies are based on the fft of a windows with those parameters. This is only useful for some special processing applications and might be removed in the future.
Definition in file cag++.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 30 of file cag++.cpp.
References gplib::C1DMTSynthData::CalcSynthetic(), gplib::C1DMTSynthData::ReadModel(), gplib::MTStation::SetFrequencies(), version, and gplib::MTStation::WriteAsMtt().