addGaussianToImage

Return to directory of Todd's CASA extensions

Add a 2D Gaussian source to a 2D CASA image and create a sum image. See also subtractGaussianFromImage, addGaussianToFITSImage and makeGaussianForImage.

Usage:

au.addGaussianToImage(img, peak, x, y, major, minor, pa, outfile='sum.image')
Inputs:
  • img: filename of the (2D) CASA 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
  • outfile: name of output image
Returns:
  • the name of the image created

-- 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