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

2.3.1 Set the voltage pattern model for subsequent processing


Description

Set the voltage pattern model (and hence, the primary beam) used for a telescope. There are currently two ways to set the voltage pattern: by using the extensive list of defaults which the system knows about, or by creating a voltage pattern description with the vpmanager. The default voltage patterns include both a high and a low frequency VP for the WSRT, a VP for each observing band at the AT, several VP’s for the VLA, including the appropriate beam squint for each observing band, and Gaussian for the BIMA dishes. Due to temporary limitations in the internal structure of the visibility buffer, only one telescope’s voltage pattern can be applied to a particular MeasurementSet. This will be corrected shortly.

Arguments





Inputs

dovp

Do voltage pattern (ie, primary beam) correction

allowed:

bool

Default:

false

usedefaultvp

Look up the default VP for this telescope and frequency?

allowed:

bool

Default:

true

vptable

If usedefaultvp is False, provide a VP Table made with vpmanager

allowed:

string

Default:

dosquint

Activate the beam squint in the VP model

allowed:

bool

Default:

false

parangleinc

Parallactice angle increment for squint application

allowed:

any

Default:

variant 360deg

skyposthreshold

Sky position threshold

allowed:

any

Default:

variant 180deg

telescope

Which default telescope to use; if empty use the one in encoded in MS

allowed:

string

Default:

verbose

If false, suppress some messages from being sent to the logger.

allowed:

bool

Default:

true

Returns
bool

Example

 
 
 im.setvp(dovp=True, usedefaultvp=True, dosquint=False)  
 

__________________________________________________________________


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