NRAO Home > CASA > CASA Toolkit Reference Manual
image.rotatebeam - Function

1.1.1 rotate the image’s beam(s) counterclockwise through the specified angle.


Description

This method rotates the attached image’s beam(s) counterclockwise through the specified angle. This is the same thing as increasing the position angle(s) of the beam(s) by the specified angle. If the image does not have a beam, no changes to the image are made. If the image has multiple beams, all the beams are rotated through the same angle.

Arguments





Inputs

angle

Angle by which to rotate image’s beam(s). Default is no rotation.

allowed:

any

Default:

variant 0deg

Returns
bool

Example

 
# rotate any and all beams in the image (increase their position angles) by 30 degrees.  
ia.open("my.im")  
ia.rotatebeam("30deg")  
ia.done()  
 

__________________________________________________________________


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