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 |