|
| 1 | +- **N** or **dimensions** or **inquire** : -- _dimensions=[**a**|**f**|**m**|**r**|**s**|*nx/ny*][**+a**|**d**|**h**|**l**][**+e**|**n**|**m**][**+t**_width_][**+v**][**+w**[_suffix_]][**+z**[**p**]]_\ |
| 2 | + Choose or inquire about suitable grid dimensions for FFT and set |
| 3 | + optional parameters. Control the FFT dimension via these directives: |
| 4 | + |
| 5 | + - **a** - Let the FFT select dimensions yielding the most accurate result. |
| 6 | + - **f** - Force the FFT to use the actual dimensions of the data. |
| 7 | + - **m** - Let the FFT select dimensions using the least work memory. |
| 8 | + - **r** - Let the FFT select dimensions yielding the most rapid calculation. |
| 9 | + - **s** - Just present a list of optional dimensions, then exit. |
| 10 | + |
| 11 | + Without a directive we expect **-N**\ *nx/ny* which will do FFT on array size *nx/ny* |
| 12 | + (must be >= grid file size). Default chooses dimensions >= data which optimize speed |
| 13 | + and accuracy of FFT. If FFT dimensions > grid file dimensions, data are extended and |
| 14 | + tapered to zero. |
| 15 | + |
| 16 | + Control detrending of data by appending a modifier for removing a linear trend. |
| 17 | + Consult module documentation for the default action: |
| 18 | + |
| 19 | + - **+d** - Detrend data, i.e. remove best-fitting linear trend. |
| 20 | + - **+a** - Only remove the mean value. |
| 21 | + - **+h** - Only remove the mid value, i.e. 0.5 * (max + min). |
| 22 | + - **+l** - Leave data alone. |
| 23 | + |
| 24 | + Control extension and tapering of data by appending a modifier to control how |
| 25 | + the extension and tapering are to be performed: |
| 26 | + |
| 27 | + - **+e** - Extend the grid by imposing edge-point symmetry [Default]. |
| 28 | + - **+m** - Extends the grid by imposing edge mirror symmetry. |
| 29 | + - **+n** - Turns off data extension. |
| 30 | + |
| 31 | + Tapering is performed from the data edge to the FFT grid edge [100%]. |
| 32 | + Change this percentage via modifier **+t**\ *width*. When **+n** is in effect, |
| 33 | + the tapering is applied instead to the data margins as no extension is |
| 34 | + available [0%]. |
| 35 | + |
| 36 | + Control messages being reported: |
| 37 | + |
| 38 | + - **+v** - Report suitable dimensions during processing. |
| 39 | + |
| 40 | + Control writing of temporary results: |
| 41 | + For detailed investigation you can write the intermediate grid being passed |
| 42 | + to the forward FFT; this is likely to have been detrended, extended by |
| 43 | + point-symmetry along all edges, and tapered. Use these modifiers to ave such grids: |
| 44 | + |
| 45 | + - **+w** - Set the *suffix* from which output file name(s) will be created |
| 46 | + (i.e., *ingrid_prefix.ext*) [Default is "tapered"], where *ext* is your file extension |
| 47 | + - **+z** - Save the complex grid produced by the forward FFT. By default we |
| 48 | + write the real and imaginary components to *ingrid*\ \_real.\ *ext* and |
| 49 | + *ingrid*\ \_imag.\ *ext*. Append **p** to instead use the polar form of magnitude |
| 50 | + and phase to files *ingrid*\ \_mag.\ *ext* and *ingrid*\ \_phase.\ *ext*. |
0 commit comments