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


next up previous contents index
Next: createcomet - Function Up: measuresdata - Module Previous: addline - Function


addsource - Function



Package general
Module measuresdata


Add/delete entries to the Sources table


Synopsis
addsource(nami, typi, longi, lati, srci, comi, delnam, ctable, vref)


Description
Add or delete entries from the Sources table. A backup table will be made, the entries will be sorted on the name specified (capitalised). The entries will either be manually, or, with vref set, obtained from the refframe.one VLBI table maintained by USNO.



Example
- include 'measuresdata.g'
- addsource('mysrc','B1950','149.55deg','-30.1455deg')
T
- addsource(vref=T)	# get sources from USNO



Arguments

nami   name of source
    Allowed: string
    Default: unknown
typi   position type
    Allowed: known type like J2000, B1950, GALACTIC
    Default: ''
longi   longitude or x
    Allowed: angle quantity
    Default: ''
lati   latitude or y
    Allowed: angle quantity
    Default: ''
srci   some comment about source of data
    Allowed: string
    Default: ''
comi   comment, e.g. about precision
    Allowed: string
    Default: ''
delnam   indicate if delete in stead of add
    Allowed: bool
    Default: F
ctable   indicate that an empty table should be created
    Allowed: bool
    Default: F
vref   indicate that sources to be taken from USNO
    Allowed: bool
    Default: F


Returns
bool




next up previous contents index
Next: createcomet - Function Up: measuresdata - Module Previous: addline - 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