STFINV library: seek source wavelet correction filter
stfinvfourier_description_usage.cc
Go to the documentation of this file.
1 // DO NOT EDIT: this file is automatically derived from usage/stfinvfourier_description_usage.txt
4 {
5  "Options and parameters in common for procedures in the Fourier domain:\n"
6  " fpow2 use power of two for number of coefficients\n"
7  " fdiv=d use integer multiple of d for number of coefficients\n"
8  " fpad=f padding factor\n"
9  " tshift=d delay source correction filter wavelet by d (in seconds)\n"
10  " this is applied only to the waveform of the impulse\n"
11  " response of the correction filter after application to\n"
12  " synthetic data (has no effect on convolved data)\n"
13  " irtap=t1,t2,t3,t4 taper impulse response of correction filter\n"
14  " this is applied to the correction filter before\n"
15  " application to synthetic data (affects convolved data)\n"
16  "\n"
17  "These options define the number of samples N used for the FFT (Fast Fourier\n"
18  "Transform). This number N should be larger than the number of samples M in the\n"
19  "original input time series to avoid wrap-around. If fpow2 is set, N will be\n"
20  "the next power of 2 larger than M*f. Else if fdiv is set, N will be the next\n"
21  "integer multiple of d larger than M*f. If fdiv is not set explicitely, a\n"
22  "default value for d (commonly 100) is used. If option fpad ist used, N will be\n"
23  "f times larger than without padding. Without explicitely setting fpad, a\n"
24  "default value for f is used (which commonly equals 1.5). When defining the\n"
25  "number of samples N, first padding is considered (fpad), then the either\n"
26  "selection of a power of two (pow2) or the divisor criterion (fdiv) is applied.\n"
27  "The latter is only applied, if pow2 ist not selected.\n"
28  "\n"
29  "Input time series with M samples will be padded with (N-M) zeros to create the\n"
30  "time series which actually will be transformed to the Fourier domain. Upon\n"
31  "inverse FFT the additional (N-M) samples of the resulting time series will be\n"
32  "discarded before returning the M remaining samples to the caller. Note, that\n"
33  "this is a form of implicite taper. In particular the caller will not obtain\n"
34  "exactly the filter response, which was used for convolution internally.\n"
35  "\n"
36  "The derived correction filter in some cases can contain acausal components.\n"
37  "This means that the impulse response is non-zero for negative time values.\n"
38  "Since by definition, the impulse response is output for the time interval of\n"
39  "the input data, these acausal components can remain unnoticed. The option\n"
40  "tshift can be used to shift the impulse response as obtained by inverse FFT in\n"
41  "order to expose acausal components. The time shift is only applied to the\n"
42  "impulse response of the correction filter before returning the impulse\n"
43  "response to the caller. It does not affect the convolved synthetics. If the\n"
44  "output impulse response is discussed with respect to the input synthetics, the\n"
45  "option tshift effectively shifts the temporal origin away from the origin time\n"
46  "specified in the input data.\n"
47  "\n"
48  "A time domain taper can be applied to the impulse response of the correction\n"
49  "filter by using option irtap. Four time values are given in units of seconds:\n"
50  "t1, t2, t3, and t4. They must be in increasing order and (t4-t1) must be\n"
51  "smaller than the total duration of the time series used to represent signals\n"
52  "internally. Times value are allowed to be negative. Time series are understood\n"
53  "to be periodic (due to discrete Fourier transformation). Prior to application\n"
54  "of the correction filter to the time series passed to the algorithm, the\n"
55  "correction filter is transformed to the time domain, tapered, and then\n"
56  "transformed to the Fourier domain again. The values of the taper are:\n"
57  " 0 if t < t1\n"
58  " 0.5-0.5*cos(pi*(t-t1)/(t2-t1)) if t1 <= t <= t2\n"
59  " 1 if t2 < t < t3\n"
60  " 0.5+0.5*cos(pi*(t-t3)/(t3-t4)) if t3 <= t <= t4\n"
61  " 0 if t > t4\n"
62  "\n"
63  "Time values are given in the same unit in which the sampling interval is given\n"
64  "in the input time series. I.e. if sampling interval is specified as a fraction\n"
65  "of seconds (which is standard) then all time values passed as parameters are\n"
66  "also given as fractions or multiples of seconds.\n"
67 };
char stfinvfourier_description_usage[]