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