ngcasa.deconvolution.restore_model
¶
-
restore_model
(img_dataset, restore_parms)[source]¶ Todo
This function is not yet implemented
Restore a deconvolved model.
Inputs - target resolution could be native or ‘common’ or explicitly specified.
Cube and single-term imaging :
Smooth the model image (Jy/pixel) to the target resolution
Smooth the residual image (Jy/beam) to the target resolution
Add the two smoothed images
Multi-term imaging :
Smooth the model taylor coefficient images to the target resolution
Apply the inverse Hessian to the residual image vector (data-space to model-space) (At non-native target resolution, also compute a new Hessian matched to the scale of the restoring beam.)
Smooth the model-space residuals to the target resolution
Re-restoration may be done simply by calling this same method again with a different target resolution. Calculations will start with the native model and residual images. Note that re-restoration with cngi.image.imsmooth() will not be accurate for multi-term imaging.
- Returns
vis_dataset
- Return type
xarray.core.dataset.Dataset