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

2.3.1 Make an empty (i.e. blank) image


Description

Make an empty image using the current image parameters. Often this is unnecessary, but you will typically need to use this if you wish to deconvolve a set of images. The steps are to make the empty images that you require to be deconvolved, and then pass them into clean as a vector of strings.

Arguments





Inputs

image

name of output image

allowed:

string

Default:

async

Run asynchronously in the background

allowed:

bool

Default:

false

Returns
bool

Example

 
 
im.defineimage(nx=1024,ny=1024, cellx=’30marcsec’,celly=’30marcsec’,  
nchan=1, stokes=’IV’, phasecenter=me.direction(’mars’));  
im.make(’mars.moving’);  
im.defineimage(nx=1024,ny=1024, cellx=’30marcsec’,celly=’30marcsec’,  
nchan=1, stokes=’IV’,  
phasecenter=me.direction(’J2000’, ’12:23:48.7’, ’-15:56:32.9’)  
im.make(’mars.fixed’);  
im.clean(algorithm=’mf’, model=[’mars.moving’, ’mars.fixed’],  
image=[’mars.moving.restored’, ’mars.fixed.restored’])  
 
 
This makes two empty images, one moving with mars and one fixed  
in J2000, and then deconvolves the two jointly using clean.  
Finally the images are 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