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

1.2.1 Set the reference frame for the frequency


Description

The setfreqframe function sets the reference frame for the reference frequency of the specified components.

Currently the reference frame does not include additional information like when are where the observation took place. Hence no conversion between reference frames is available. In the interim I recommend you always use the same frame.

Arguments





Inputs

which

An index specifying the component to modify. An integer between 0 and one less than the list length, inclusively

allowed:

int

Default:

frame

The new reference frame, A string like ’LSRK’, ’LSRD’, ’GEO’ or ’TOPO

allowed:

string

Default:

TOPO

GEO

LSRD

LSRK

log

Send a message to the logger

allowed:

bool

Default:

true

Returns
bool

Example

 
 
      cl.open(’centarusA.cl’)  
      cl.setfreqframe(0, ’LSRK’)  
 

__________________________________________________________________


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