NRAO Home > CASA > CASA Toolkit Reference Manual
measures.shift - Function

1.4.1 Shift a direction measure by an offset angle at a position angle.


Description

This method calculates the direction measure located at the specified offset angular amount along the specified position angle from the specified direction measure.

Arguments





Inputs

v

The direction measure to shift, represented as a record.

allowed:

record

Default:

offset

The angular offset, represented as a quantity record or string.

allowed:

any

Default:

variant 0deg

pa

Position angle of the offset, measured from the positive latitude axis through the positive longitude axis.

allowed:

any

Default:

variant 0deg

Returns
record

Example

 
        v = me.direction("J2000", "13:22:44", "-50.20.20")  
        # shift along 4 arcminues at a pa of 30 degrees.  
        offset = me.shift(v, offset="4arcmin", pa="30deg")  

__________________________________________________________________


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