imsmooth – Smooth an image or portion of an image – analysis task
Description
Parameters
Parameter |
Default |
Description |
|---|---|---|
imagename |
|
|
kernel |
|
|
major |
|
|
minor |
|
|
pa |
|
|
targetres |
|
|
kimage |
|
|
scale |
|
|
region |
|
|
box |
|
|
chans |
|
|
stokes |
|
|
mask |
|
|
outfile |
|
|
stretch |
|
|
overwrite |
|
|
beam |
|
Parameter Explanations
imagename
''
Name of the input image. Must be specified.
kernel
'gauss'
Type of kernel to use. Acceptable values are “b”, “box”, or “boxcar” for a boxcar kernel, “g”, “gauss”, or “gaussian” for a gaussian kernel, “c”, “common”, or “commonbeam” to use the common beam of an image with multiple beams as the gaussian to which to convolve all the planes, “i” or “image” to use an image as the kernel.
major
''
Major axis for the kernels. Standard quantity representation. Must be specified for kernel=”boxcar”. Example: “4arcsec”.
minor
''
Minor axis. Standard quantity representation. Must be specified for kernel=”boxcar”. Example: “2arcsec”.
pa
''
Position angle used only for gaussian kernel. Standard quantity representation. Example: “40deg”.
targetres
False
If gaussian kernel, specified parameters are to be resolution of output image (True) or parameters of gaussian to convolve with input image (False).
kimage
''
Kernel image name. Only used if kernel=”i” or “image”.
scale
float(-1.0)
Scale factor. -1.0 means auto-scale. Only used if kernel=”i” or “image”.
region
''
Region selection. See “help par.region” for details. Default is to use the full image.
box
''
Rectangular region to select in direction plane. See “help par.box” for details. Default is to use the entire direction plane.
chans
''
Channels to use. See “help par.chans” for details. Default is to use all channels.
stokes
''
Stokes planes to use. See “help par.stokes” for details. Default is to use all Stokes planes.
mask
''
Mask to use. See help par.mask. Default is none.
outfile
''
Output image name. Must be specified.
stretch
False
Stretch the mask if necessary and possible? See help par.stretch
overwrite
False
Overwrite (unprompted) pre-existing output file?
beam
''
Alternate way of describing a Gaussian. If specified, must be a dictionary with keys “major”, “minor”, and “pa” (or “positionangle”). Do not specify beam if specifying major, minor, and pa. Example: Example: {“major”: “5arcsec”, “minor”: “2arcsec”, “pa”: “20deg”}.