next up previous contents
Next: Widget procedures Up: Command line procedures Previous: Compute orbital inclinations and   Contents

Cross indices

A comprehensive array of crossindices has been installed in catalogs/crossindex. The files have the extension .cri and are read by PV-WAVE within the crossindex function cri. To obtain, for example, the BSC number for FKV0193 (Capella), enter

print,cri(193,'fkv-hdn').

This function can be nested, if a particular index does not exist and the request needs to be routed around it. The function will return ``$-1$'' if the ID number could not be found. If you know the Bayer or Flamsteed names of the star or its proper name, you can also use cri to obtain its ID in any catalog. Note that in the following example only the destination catalog is specified in the function call:

print,cri('capella','fkv'),

or

print,cri('alp aur','bsc').

To rename the entire STARID field of STARTABLE, use rename_starids, for example:

rename_starids,'fkv-hdn'.

In the last example, the command will cause STARBASE to access the crossindex for all entries with an FKV ID and try to produce HDN IDs. If an HDN ID is already available in the table, this will also cause the STARID field to be renamed. (Note: this behaviour might be changed in an upcoming release.)


next up previous contents
Next: Widget procedures Up: Command line procedures Previous: Compute orbital inclinations and   Contents
Christian Hummel 2009-10-20