NRAO Home > CASA > CASA Toolkit Reference Manual
coordsys.setobserver - Function

1.1.3 Set a new observer


Description

If you want to grab all the glory, or transfer the blame, this function sets a new observer of the observation. You can get the current observer with function observer. The observer’s name is not fundamental to the Coordinate System !

Arguments





Inputs

value

New observer

allowed:

string

Default:

Returns
bool

Example

 
 
"""  
#  
print "\t----\t setobserver Ex 1 \t----"  
csys = cs.newcoordsys()  
print csys.observer()  
#Karl Jansky  
csys.setobserver(’Ronald Biggs’)  
print csys.observer()  
#Ronald Biggs  
#  
"""  
 

__________________________________________________________________


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