NRAO Home > CASA > CASA Toolkit Reference Manual
componentlist.setrefdirframe - Function

1.2.1 Set the reference frame for the direction


Description

The setrefdirframe function sets the reference frame for the reference direction of the specified components (what a mouthful)!

Currently the reference frame does not include additional information like when and where the observation took place. Hence only reference frames that are independent of this information can be used. This includes the common ones of ’J2000’, ’B1950’, and ’Galactic’. The measures module contains a complete listing of all possible reference frames. The parsing of the reference frame string is case-insensitive.

Arguments





Inputs

which

A vector of indices specifying the components to modify. A vector with indices between 0 and one less than the list length, inclusively

allowed:

int

Default:

frame

The new reference frame, A string like ’B1950’, ’J2000’ or ’galactic’

allowed:

string

Default:

log

Send a message to the logger

allowed:

bool

Default:

true

Returns
bool

Example

 
 
      cl.open(’crux.cl’);  
      cl.setrefdirframe(0, ’B1950’);  
 

__________________________________________________________________


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