Return to directory of Todd's CASA extensions

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


au.addGaussianToFITSImage(fits, peak, x, y, major, minor, pa, overwrite=False, output='')
  • fits: filename of the (2D) FITS 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
  • overwrite: if True, then overwrite any existing CASA image with the same name
  • output: name of output image (default = *.sum.img)
  • 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