Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | bima | |
Module | bimacalibrater | |
Tool | bimacalibrater |
The getsourcenames function returns a list of source nicknames associated with the specified roles. The roles parameter should be a vector of strings, recognized values being 'all', 'targets', 'phcals', 'pbcals', 'fcals' for all sources, target sources, phase calibrators, passband calibrators, and flux density calibrators, respectively. This function is meant to help users remember how they have named their sources (it is also used internally by other functions of bimacalibrater).
roles | Return nicknames of sources of these roles | ||
Allowed: | Vector of strings. Recognized values are 'all' (all nicknames), 'targets' (target source nicknames), 'phcals' (phase calibrators), 'pbcals' (passband calibrators), and 'fcals' (flux density calibrators) | ||
Default: | none |
- bc := bimacalibrater(['sgrb2.ms','sgra.ms'], + '1733-130.ms',targetnames=['sgrb','sgra'],phcalnames='1733'); - bc.getsourcenames('all') sgrb sgra 1733 - bc.getsourcenames(['phcals','targets']) 1733 sgrb sgra - bc.getsourcenames('targets') sgrb sgra - bc.getsourcenames('phcals') 1733