1.3.1 define a baseline from a position measure
Description
asbaseline converts a position measure into a baseline measure. No actual
baseline is calculated, since operations can be done on positions, with
subtractions to obtain baselines at a later stage.
Arguments
| Inputs |
| ||
| pos |
| position measure
| |
| allowed: | any |
|
| Default: | record |
|
Example
"""
# print "\t----\t asbaseline Ex 1 \t----" b = me.position(’itrf’, ’10m’, ’20m’, ’30m’); print b #{’m0’: {’value’: 1.1071487177940904, ’unit’: ’rad’}, # ’m1’: {’value’: 0.93027401411547195, ’unit’: ’rad’}, # ’m2’: {’value’: 37.416573867739416, ’unit’: ’m’}, # ’refer’: ’ITRF’, # ’type’: ’position’} print me.asbaseline(b) #{’m0’: {’value’: 1.1071487177940904, ’unit’: ’rad’}, # ’m1’: {’value’: 0.93027401411547195, ’unit’: ’rad’}, # ’m2’: {’value’: 37.416573867739416, ’unit’: ’m’}, # ’refer’: ’J2000’, # ’type’: ’baseline’} # """ |
Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu
Copyright © 2008 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
Updated daily during alpha development.