This command subtract Clean components OR fit results from the last UV_FIT command, depending on specified argument MODE if present (can be CLEAN or UV_FIT), or on whether CLEAN (or its specialized versions HOGBOM, CLARK, etc...) or UV_FIT was done last if not. The residual UV data are available in SIC structure UV_RESIDUAL, and can be written by WRITE UV_RESIDUAL command.
The UV_RESIDUAL data can also be selected for further imaging by UV_MAP (and thus UV_RESTORE) or displayed by SHOW UV using command UV_SELECT. MODEL and UV_RESIDUAL are complementary commands (UV_DATA = UV_MODEL + UV_RESIDUAL); see HELP UV_RESIDUAL Note however.
For the Clean component the syntax is
[CLEAN\]UV_RESIDUAL [CLEAN] [Niter]that subtracts the Niter first (default all) Clean Components from the UV data.
For the UV_FIT results, Clean component the syntax is
[CLEAN\]UV_RESIDUAL [UV_FIT] [F1 .. Fn]that subtracts the F1 to Fn fitted functions (default all) from the UV data.