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

2.3.1 Calculate Sampling interval of an MS


Description

Calculate sampling interval of an MS.

Arguments





Inputs

pattern

scan pattern (NOTE: only raster is supported so far)

allowed:

string

Default:

raster

ref

direction reference

allowed:

string

Default:

J2000

movingsource

moving source name

allowed:

string

Default:

pointingcolumntouse

POINTING table column to be used for computation

allowed:

string

Default:

DIRECTION

antenna

Additional antenna selection

allowed:

string

Default:

Returns
record

Example

 
im.open(msname)  
im.selectvis(spw=’17’, field=’M100’, intent=’OBSERVE_TARGET#ON_SOURCE’)  
im.pointingsampling(pattern=’raster’, ref=’J2000’, antenna=’PM03\&\&\&’)  
# returns a dictionary of sampling and angle, e.g.,  
# {’angle’: {’unit’: ’rad’, ’value’: -0.00014148390015604565},  
# ’sampling’: {’unit’: ’rad’,  
#              ’value’: array([  1.23216297e-05,   0.00000000e+00])}}  
im.close()  

__________________________________________________________________


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