Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: componentlist.convertfrequnit - Function Up: componentlist - Tool Previous: componentlist.setfreq - Function


componentlist.setfreqframe - Function



Package synthesis
Module componentmodels
Tool componentlist


Set the reference frame for the frequency


Synopsis
setfreqframe(which, frame, log)


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

which A vector of indices specifying the components to modify
Allowed: A vector with indices between 1 and the list length
Default: no default
frame The new reference frame
Allowed: A string like 'LSR', 'GEO' or 'TOPO
Default: no default
log Send a message to the logger
Allowed: Boolean
Default: T


Returns
nothing


Example
      include 'componentlist.g'
      cl := componentlist('centarusA.cl');
      cl.setfreqframe(1:23, 'LSR')
This example sets the reference frequency frame for the first component to LSR (local standard of rest).



next up previous contents index
Next: componentlist.convertfrequnit - Function Up: componentlist - Tool Previous: componentlist.setfreq - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15