imagePeak

Return to directory of Todd's CASA extensions

Returns the peak pixel value of a CASA image. See also imageCentroid and ImagePeaks.

Usage:

au.imagePeak(img, pixelRadius=None, returnPosition=None, applymask=False)
Inputs:
  • img: CASA image
  • pixelRadius: limit the region searched to a box of this radius (in pixels)
  • returnPosition: None, 'pixel', 'radec', 'arcsec', 'mas' the latter two are relative to the reference pixel
  • applymask: if True, then don't consider the values of masked pixels

Example:

CASA <4>: au.imagePeak('Juno0.pcal1_R1.image')
  Out[4]: 0.013170203194022179

-- ToddHunter - 2014-10-21
Topic revision: r3 - 2015-01-22, 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