{
    "command": "sgfft1",
    "description": "Compute the forward or inverse Fourier transform of selected sampled vectors\nalong the sample axis. Choose whether the output represents real/imaginary,\namplitude/phase, or magnitude components using the output-format parameter.",
    "examples": [],
    "input_description": "input file",
    "notes": [],
    "output_description": "fft result: \n1. data.ns changed to the length of transform domain \n2. create data.nfft for original data length",
    "package": "sigclear-dsp",
    "parameters": [
        {
            "choices": [],
            "default": "stdin",
            "default_known": false,
            "description": "input file",
            "name": "in",
            "required": false,
            "type": "ifile",
            "units": null
        },
        {
            "choices": [],
            "default": false,
            "default_known": true,
            "description": "perform an inverse or forward transform",
            "name": "inv",
            "required": false,
            "type": "bool",
            "units": null
        },
        {
            "choices": [],
            "default": "NS",
            "default_known": false,
            "description": "transform length for a forward transform; defaults to the input length",
            "name": "nfft",
            "required": false,
            "type": "long",
            "units": null
        },
        {
            "choices": [],
            "default": "stdout",
            "default_known": false,
            "description": "fft result: \n1. data.ns changed to the length of transform domain \n2. create data.nfft for original data length",
            "name": "out",
            "required": false,
            "type": "ofile",
            "units": null
        },
        {
            "choices": [
                "realimag",
                "ampphase",
                "magnitude"
            ],
            "default": "realimag",
            "default_known": true,
            "description": "forward output as real and imaginary, amplitude and phase, or magnitude",
            "name": "out.mode",
            "required": false,
            "type": "enum",
            "units": null
        }
    ],
    "related": [],
    "schema_version": 1,
    "summary": "Transform sampled vectors along their sample axis with a 1D FFT",
    "synopsis": "sgfft1 <stdin inv=false nfft=NS >stdout out.mode=realimag",
    "version": "1.2.0-2"
}