24.01.2013 Views

Image Analysis with CASA - ESO

Image Analysis with CASA - ESO

Image Analysis with CASA - ESO

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Smooth images<br />

imsmooth – <strong>Image</strong> convolution (<strong>with</strong> Gaussian or boxcar kernel)<br />

<strong>CASA</strong>> inp imsmooth<br />

# imsmooth :: Smooth an image or portion of an image<br />

imagename = 'my.image' # Name of the input image<br />

kernel = 'gauss' # Type of kernel to use: gaussian or boxcar.<br />

major = '2.5arcsec' # Major axis for the kernels, default direction is along y­axis.<br />

minor = '2.0arcsec' # Minor axis in gaussian and boxcar kernels<br />

pa = '0deg' # Position angle for gaussian kernel<br />

targetres = False # If gaussian kernel, specified parameters are to be<br />

# resolution of output image (True) or parameters of<br />

# gaussian to convolve <strong>with</strong> input image (False).<br />

2 2 2<br />

Convolution by Gaussian: Ө = Өimg_in + Өsmo<br />

img_out<br />

Ex: Smoothing <strong>with</strong> a Gaussian kernel 20'' by 10'', <strong>with</strong> position angle 45deg:<br />

<strong>CASA</strong>> imsmooth( imagename='my.image',<br />

kernel='gauss',<br />

major='20arcsec', minor='10arcsec', pa='45deg')<br />

17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!