NRAO Home > CASA > CASA Toolkit Reference Manual
linearmosaic.setoutputimage - Function

3.1.3 Use this function to mosaic on an existing image and weight image


Description

Use this function if the mosaicing is to be done onto a previous mosaic or image. For now the stokes and spectral characteristic of the images to be mosaic and the output image has to be similar (i.e the user has to regrid them prior to linearmosaic if necessary). The weightimage represents the sensitivity image of the image (for example the weighted primary beam coverage of a mosaic)

imageweighttype parameter:

If the image is of the type that has been normalized to be flux correct then the imageweighttype should 0. If the image has been apodized by a primary beam then imageweighttype should be 1 and if the image is multiplied by PB2 then it should be 2.

weighttype parameter: This should be 1 if the weight image is the sum of Primary beams or equivalent and it should be 2 if it is the sum of of PB2

Arguments





Inputs

outputimage

Existing mosaic imagename

allowed:

string

Default:

outputweight

Existing weight image for mosaic

allowed:

string

Default:

imageweighttype

what kind of weight was already applied to image 0: flux correct 1: Primary beam equivalent weight 2: PB2 equivalent weight

allowed:

int

Default:

1

weighttype

what kind of weight is weight image 1: Primary beam equivalent weight 2: PB2 equivalent

allowed:

int

Default:

1

Returns
bool

Example

 
lm.setoutputimage(outputimage=’testoo.linmos’, outputweight=’testoo.linmos.weight’, imageweightype=0, weighttype=2)  
 
 

__________________________________________________________________


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