nraonrao
 
NRAO Home > CASA > CasaRef
measures.expand - Function

1.3.1 expand n positions to n*(n-1)/2 baselines
Description

expand calculates the differences between a series of given measure values: it calculates baseline values from position values. The returned value is a measure, but the value of the optional output variable xyz will be set to an array of values.

Arguments





Outputs

xyz

uvw (quantity array)

allowed:

any

Default:

record

Inputs

v

measure (baseline, position or uvw measure)

allowed:

any

Default:

record

Returns
anyrecord

Example

print "\t----\t expand Ex 1 \t----"  
b=me.baseline(’itrf’,’10m’,’20m’,’30m’)  
print me.expand(b)  
#{’return’: {’m0’: {’value’: 1.1071487177940904, ’unit’: ’rad’},  
#            ’m1’: {’value’: 0.93027401411547195, ’unit’: ’rad’},  
#            ’m2’: {’value’: 37.416573867739416, ’unit’: ’m’},  
#            ’refer’: ’J2000’,  
#            ’type’: ’uvw’},  
# ’xyz’: {’value’: [10.000000000000004, 20.000000000000004, 30.0], ’unit’: ’m’}}

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.