NRAO Home > CASA > CASA Toolkit Reference Manual
imager.restore - Function

2.3.1 Calculate the restored image with restored model, component list, and residuals


Description

Restore the residuals to a smoothed version of the model. The model images are convolved with the specified Gaussian beam and then the residual images are added. Note that the model visibilities are updated and thus reflect the model and componentlist that was used.. Use setbeam to set the beam parameters.

Arguments





Inputs

model

Names of input model

allowed:

stringArray

Default:

complist

Name of component list

allowed:

string

Default:

image

Names of output restored images

allowed:

stringArray

Default:

residual

Names of residual images

allowed:

stringArray

Default:

async

Run asynchronously in the background

allowed:

bool

Default:

false

Returns
bool

Example

 
 
- im.setbeam(bmaj=’2.0arcsec’, bmin=’2.0arcsec’)  
- im.restore(model=’3C273XC1.clean’, image=’3C273XC1.clean.restored’,  
 

__________________________________________________________________


More information about CASA may be found at the CASA web page

Copyright 2016 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search