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

2.3.1 set the requested weight grids


Description

This is a utility function when running multi imager processes in parallel on subsection of an ms/data independently One would wish to weight the dirty image before averaging or set the imaging weight density (when using unform or Brigg’s style weighting) to account for all the data being used. This is NOT for the general user but for people who are parallelizing at the scripting level.

Arguments





Inputs

weight

Numeric array. Required input.

allowed:

any

Default:

variant

type

Type of weight requested

allowed:

string

Default:

imaging

Returns
bool

Example

 
 
wght=im.getweightgrid(’imaging’)  
wght2=im2.getweightgrid(’imaging’)  
wght=wght+wght2  
 
im.setweightgrid(weight=wght, type=’imaging’)  
im2.setweightgrid(weight=wght, type=’imaging’)  
 
 

__________________________________________________________________


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