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

1.3.1 save a measure as frame reference
Description

doframe will set the measure specified as part of a frame.

If conversion from one type to another is necessary, with the measure function, the following frames should be set if one of the reference types involved in the conversion is as in the following lists.
Epoch

 UTC  
 TAI  
 LAST position  
 LMST  position  
 GMST1  
 GAST  
 UT1  
 UT2  
 TDT  
 TCG  
 TDB  
 TCD

Direction

 J2000  
 JMEAN epoch  
 JTRUE  epoch  
 APP  epoch  
 B1950  
 BMEAN  epoch  
 BTRUE  epoch  
 GALACTIC  
 HADEC  epoch position  
 AZEL epoch  position  
 SUPERGALACTIC  
 ECLIPTIC  
 MECLIPTIC      epoch  
 TECLIPTIC epoch  
 PLANET epoch   [position]

Position

 WGS84  
 ITRF

Radial Velocity

 LSRK  direction  
 LSRD  direction  
 BARY  direction  
 GEO  direction epoch  
 TOPO  direction epoch position  
 GALACTO direction

Doppler

 RADIO  
 OPTICAL  
 Z  
 RATIO  
 RELATIVISTIC  
 BETA  
 GAMMA

Frequency

 REST  direction radialvelocity  
 LSRK  direction  
 LSRD  direction  
 BARY  direction  
 GEO  direction epoch  
 TOPO  direction epoch position  
 GALACTO

Arguments





Inputs

v

measure to be set in frame

allowed:

any

Default:

record

Returns
bool

Example

print "\t----\t doframe Ex 1 \t----"  
a = me.epoch(’utc’, ’today’)  # a time  
print a  
#{’m0’: {’value’: 54054.91671484954, ’unit’: ’d’},  
# ’refer’: ’UTC’,  
# ’type’: ’epoch’}  
print me.doframe(a) # set time in frame  
#True

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.