|NRAO Home > CASA > CASA Toolkit Reference Manual||
msmetadata.propermotions - Function
1.3.2 Get the values of the PROPER_MOTION column from the SOURCE
Get the values of the DIRECTION column from the SOURCE table. Returns a dictionary in which the keys are the associated zero-based row numbers, represented as strings, in the SOURCE table. The associated values are two element dictionaries, with keys ”longitude” and ”latitude”, containing the longitudinal and latidinal components of the proper motion, which are valid quantity dictionaries.
# get PROPER_MOTION column values from the SOURCE table
mu = msmd.propermotions()
# the direction associated with zero-based row number 10
mu10 = mu["10"]
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