{
    "command": "sgdelay",
    "description": "Estimate time-varying relative delays using a linear-phase approximation, then\napply the configured inverse or correction to the selected vectors. The method\noperates on sampled vector data and depends on the chosen reference and\nestimation-window settings.",
    "examples": [],
    "input_description": "input dataset; all vectors are processed",
    "notes": [],
    "output_description": "output dataset with vectors replaced by estimated delays along the index direction",
    "package": "sigclear-optim",
    "parameters": [
        {
            "choices": [],
            "default": "stdin",
            "default_known": false,
            "description": "input dataset; all vectors are processed",
            "name": "in",
            "required": false,
            "type": "ifile",
            "units": null
        },
        {
            "choices": [],
            "default": "stdout",
            "default_known": false,
            "description": "output dataset with vectors replaced by estimated delays along the index direction",
            "name": "out",
            "required": false,
            "type": "ofile",
            "units": null
        },
        {
            "choices": [
                "lagrange",
                "bspline",
                "pcmf"
            ],
            "default": "pcmf",
            "default_known": true,
            "description": "linear-phase approximation operator",
            "name": "lphase",
            "required": false,
            "type": "enum",
            "units": null
        },
        {
            "choices": [],
            "default": 2,
            "default_known": true,
            "description": "half-order of the linear-phase filter; its length is 2*order+1",
            "name": "order",
            "required": false,
            "type": "int",
            "units": null
        },
        {
            "choices": [
                "none",
                "mae",
                "mse",
                "tls",
                "m4e"
            ],
            "default": "mse",
            "default_known": true,
            "description": "regularization operator for smooth delay estimation",
            "name": "smooth",
            "required": false,
            "type": "enum",
            "units": null
        },
        {
            "choices": [],
            "default": 5,
            "default_known": true,
            "description": "sample-axis window size for delay regularization",
            "name": "ntw",
            "required": false,
            "type": "int",
            "units": null
        },
        {
            "choices": [],
            "default": 3,
            "default_known": true,
            "description": "first lateral-axis window size for delay regularization",
            "name": "nxw",
            "required": false,
            "type": "int",
            "units": null
        },
        {
            "choices": [],
            "default": true,
            "default_known": true,
            "description": "use 2D regularization; set to false for 3D regularization",
            "name": "twod",
            "required": false,
            "type": "bool",
            "units": null
        },
        {
            "choices": [],
            "default": 3,
            "default_known": true,
            "description": "second lateral-axis window size for 3D delay regularization",
            "name": "nyw",
            "required": false,
            "type": "int",
            "units": null
        }
    ],
    "related": [],
    "schema_version": 1,
    "summary": "Estimate and compensate nonstationary delays between sampled vectors",
    "synopsis": "sgdelay <stdin >stdout lphase=pcmf order=2 smooth=mse ntw=5 nxw=3 twod=true nyw=3",
    "version": "1.0.1-5"
}