getSourceNameFromPipelineImageName

Return to directory of Todd's CASA extensions

Parses the source name from a pipeline image name.

Usage:

import analyzemsimage as ami
ami.getSourceNameFromPipelineImageName(img)

Example:

CASA <14>: ami.getSourceNameFromPipelineImageName('uid___A001_X12e_X23f.s26_0.UX_Tau_sci.spw19.cube.I.iter1.image')
  Out[14]: 'UX_Tau'

-- ToddHunter - 2016-03-02

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > GetSourceNameFromPipelineImageName
Topic revision: 2016-03-02, 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