|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
coordsys.settelescope - Function
1.1.3 Set a new telescope
Description
This function sets a new telescope of the observation. The telescope position
may be needed for reference code conversions; this is why it is maintained in
the Coordinate System. So it is fundamental to the Coordinate System and
should be correct.
You can find a list of the observatory names know to CASA with the Measures obslist function.
You can get the current telescope with function telescope.
Arguments
Inputs |
| ||
value |
| New telescope
| |
| allowed: | string |
|
| Default: |
|
|
bool
Example
"""
#
print "\t----\t settelescope Ex 1 \t----"
csys = cs.newcoordsys()
print csys.telescope()
#ATCA
csys.settelescope(’VLA’)
print csys.telescope()
#VLA
csys.settelescope(’The One In My Backyard’)
#Tue Mar 6 21:41:24 2007 WARN coordsys::settelescope:
#This telescope is not known to the casapy system
#You can request that it be added
print me.obslist()
#ALMA ARECIBO ATCA BIMA CLRO DRAO DWL GB GBT GMRT IRAM PDB IRAM_PDB
# JCMT MOPRA MOST NRAO12M NRAO_GBT PKS SAO SMA VLA VLBA WSRT
#
"""
__________________________________________________________________
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