{
    "command": "sgshift",
    "description": "time shift out[t] = in[t+tau]",
    "examples": [
        {
            "command": "sgfieldmath lmo:f='offset/1500+1.0' <input.sg | \\\n  sgshift tau=lmo >shifted.sg",
            "expected": "Input must contain scalar offset and sampled vectors. For offset in metres,\n1500 is a velocity in metres per second and 1.0 is an added delay in seconds.\nThe forward convention is out[t] = in[t+tau]; boundary fill defaults to zero.\nCheck sampling units and shifted values before interpreting the output.",
            "title": "Apply a field-defined linear moveout shift"
        }
    ],
    "input_description": "input file",
    "notes": [],
    "output_description": "output file",
    "package": "sigclear-dsp",
    "parameters": [
        {
            "choices": [],
            "default": "stdin",
            "default_known": false,
            "description": "input file",
            "name": "in",
            "required": false,
            "type": "ifile",
            "units": null
        },
        {
            "choices": [],
            "default": "stdout",
            "default_known": false,
            "description": "output file",
            "name": "out",
            "required": false,
            "type": "ofile",
            "units": null
        },
        {
            "choices": [
                "zero",
                "nearest"
            ],
            "default": "zero",
            "default_known": true,
            "description": "fill value at the boundary",
            "name": "out.fill",
            "required": false,
            "type": "enum",
            "units": null
        },
        {
            "choices": [],
            "default": 0.1,
            "default_known": true,
            "description": "time shift in seconds, provided as a field or float",
            "name": "tau",
            "required": false,
            "type": "field|float",
            "units": null
        },
        {
            "choices": [],
            "default": false,
            "default_known": true,
            "description": "inverse time shift",
            "name": "inv",
            "required": false,
            "type": "bool",
            "units": null
        }
    ],
    "related": [],
    "schema_version": 1,
    "summary": "apply time shift on vector fields",
    "synopsis": "sgshift <stdin >stdout out.fill=zero tau=0.1 inv=false",
    "version": "1.2.0-2"
}