next up previous
Next: Field Selection Up: Antenna/Baseline Selection Previous: Examples


Integers-as-names VLA naming convention

Antenna naming convention for VLA is such that the antenna names are actually valid integers converted to strings. While we feel that this is indeed a bad idea and it will be best to translate the VLA antenna names to something like VLA1, VLA2 in the CASA VLA filler (or something that does reflect that its a name and not get confused with integer indexes), for now, to accommodate the VLA tradition, the following logic is used:

Just for antenna selection, a user supplied integer (or integer list) is converted to a string and matched against the antenna name. If that fails, the normal logic of using an integer as an integer and matching it with antenna index is done.
For example, if the antenna with index 17 is named "21", the string "21,VLA22" will expand into an antenna index list of 17,22 (assuming that the antenna named VLA22 has index 22).

If we conclude that this style of antenna selection is indeed the way we wish to go, users should be aware that the antenna selection will behave differently for telescopes other than VLA. For example, assuming that antenna with names "21","17", and "11" have indices 1,2 and 3, for VLA only a selection string "21,17,11" will select antenna with indices 1, 2 and 3. For other instruments where this is not the naming convention, the same selection string ("21,17,11") will select antennas with indices 21, 17, and 11.


next up previous
Next: Field Selection Up: Antenna/Baseline Selection Previous: Examples
Sanjay Bhatnagar 2012-11-26