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


next up previous contents index
Next: dish.gms - Function Up: dish - Tool Previous: dish.getvf - Function


dish.getvfarray - Function



Package dish
Module dish
Tool dish


Return the velocities and frequencies for the globalscan1 spectrum.


Synopsis
getvfarray(dop, refframe)


Description
This function will return vectors of the velocities and frequencies for the currently viewed spectrum.



Arguments

dop   Doppler convention
    Allowed: RADIO, OPTICAL or TRUE
    Default: RADIO
refframe   Reference Frame
    Allowed: LSRK, LSRD, BARY, GEO, TOPO or GALACTO
    Default: LSRK


Returns
Record with four fields: v (array of velocities), f (array of frequencies), refframe, and doppler


Example
- a := d.getvfarray('OPTICAL','BARY')
- a.f[1]
1.40992869e+09 
- a.v[1]
54737.4952 
- a.refframe
BARY 
- a.doppler
OPTICAL





next up previous contents index
Next: dish.gms - Function Up: dish - Tool Previous: dish.getvf - 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-08-01