makeGaussianForImage

Return to directory of Todd's CASA extensions

Take a CASA 2D image as a template, and build a 2D image with a single Gaussian component at the specified location and width. See also addGaussianToImage and addGaussianToFITSImage.

Usage:

au.makeGaussianForImage(img, peak, xpeak, ypeak, major, minor, pa, newimage='')
Inputs:
  • img: filename of the CASA 2D image
  • peak: peak intensity in image brightness units (set to None for value at xpeak,ypeak)
  • xpeak: x pixel of the peak of the Gaussian (set to None for image peak)
  • ypeak: y pixel of the peak of the Gaussian
  • major: FWHM of major axis in pixels
  • minor: FWHM minor axis in pixels
  • pa: position angle of major axis in degrees
  • newimage: name of output image (default = *.gaussian)
Returns:
  • the filename of the new image

-- ToddHunter - 2015-07-06
Topic revision: r1 - 2015-07-06, 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