immath – Perform math operations on images – analysis task
Description
math on images
Parameters
Parameter |
Default |
Description |
|---|---|---|
imagename |
|
a list of input images |
mode |
|
mode for math operation (evalexpr, spix, pola, poli, lpoli, tpoli) |
outfile |
|
File where the output is saved |
expr |
|
Mathematical expression using images |
varnames |
|
a list of variable names to use with the image files |
sigma |
|
standard deviation of noise for debiasing |
polithresh |
|
Threshold in linear polarization intensity image below which to mask pixels. |
mask |
|
Mask to use. Default is none. |
region |
|
Region selection. Default is to use the full image. |
box |
|
Rectangular region to select in direction plane. Default is to use the entire direction plane. |
chans |
|
Channels to use. Default is to use all channels. |
stokes |
|
Stokes planes to use. Default is to use all Stokes planes. |
stretch |
|
Stretch the mask if necessary and possible? See help stretch.par |
imagemd |
|
An image name from which metadata should be copied. The input can be either an image listed under imagename or any other image on disk. Leaving this parameter unset may copy header metadata from any of the input images, which one is not guaranteed. |
prec |
|
Precision for the output image pixels if mode=”evalexpr” or “spix”. “float” or “double” (minimum match supported) |
Parameter Explanations
imagename
''
a list of input images
mode
'evalexpr'
mode for math operation (evalexpr, spix, pola, poli, lpoli, tpoli)
outfile
'immath_results.im'
File where the output is saved
expr
'IM0'
Mathematical expression using images
varnames
''
a list of variable names to use with the image files
sigma
'0.0mJy/beam'
standard deviation of noise for debiasing
polithresh
''
Threshold in linear polarization intensity image below which to mask pixels.
mask
''
Mask to use. Default is none.
region
''
Region selection. Default is to use the full image.
box
''
Rectangular region to select in direction plane. Default is to use the entire direction plane.
chans
''
Channels to use. Default is to use all channels.
stokes
''
Stokes planes to use. Default is to use all Stokes planes.
stretch
False
Stretch the mask if necessary and possible? See help stretch.par
imagemd
''
An image name from which metadata should be copied. The input can be either an image listed under imagename or any other image on disk. Leaving this parameter unset may copy header metadata from any of the input images, which one is not guaranteed.
prec
'float'
Precision for the output image pixels if mode=”evalexpr” or “spix”. “float” or “double” (minimum match supported)