getIntensityForPixel

Return to directory of Todd's CASA extensions

Gets the intensity at a single pixel of a CASA image. If pixel is not specified, it uses the peak. See also getFitsBeam.

Usage:

au.getIntensityForPixel(img, pixel=None)

Examples:

CASA <6>: au.getIntensityForPixel(img='G11.92_870um.im')
Using peak pixel =  [ 9 24]
  Out[6]: 5.922243595123291

CASA <7>: au.getIntensityForPixel(img='G11.92_870um.im',pixel=[15,14])
  Out[7]: 3.8614723682403564

-- ToddHunter - 2014-08-13

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > GetFitsBeam > GetIntensityForPixel
Topic revision: 2014-08-13, 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