Return to directory of Todd's CASA extensions

Returns a list of fields IDs that encompass a list of field names. Uses msmd.fieldsforname in a 'for' loop.


au.fieldsfornames(mymsmd, names)
  • mymsmd: an existing msmd tool instance
  • names: ['A','B','C'] or 'A,B,C'


CASA <8>:'')  
CASA <9>: au.fieldsfornames(msmd,['B335_1','B335_2'])
  Out[9]: [2, 3]

-- ToddHunter - 2016-01-12

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > Fieldsfornames
Topic revision: 2016-01-12, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback