Task invert
is a fairly conventional imaging program, which
produces a dirty image from a visibility dataset. It normally does this
using a grid-and-FFT approach, although there are switches to use a
direct Fourier transform and a median algorithm. Task invert
does not require the data to be sorted in any way.
Normally any calibration tables are applied
by invert
on-the-fly (although this can be turned off with the
nocal
, nopol
and nopass
options). Both
continuum or spectral line observations are handled.
We describe the inputs to invert. For MFS imaging, note
options=mfs (and options=sdb) options.
- vis gives the name of the input visibility datasets.
Several datasets can be given, as may be convenient when a source is
observed with multiple configurations or multiple frequencies.
The selected data are assumed to
be of the same object, with the same pointing centre. Additionally,
when making spectral line cubes, the number of channels derived from each
dataset must be the same (this restriction
does not apply for MFS images). Dataset names can include wildcards.
- map is the name of the output image dataset(s). When several Stokes
parameters are being imaged, you need to give one name for each Stokes
type. There is no default.
- beam is the name of the output beam dataset. The default is not
to create an output beam. If you wish to deconvolve, then you must
create an output beam. Note that invert
produces a single beam
which corresponds to all image planes and Stokes parameters.
- cell gives the image pixel size in arcseconds. Either one or two
values can be given. If only one value is given, the pixels are square. The
default is to choose a pixel size which samples the synthesised beam by
about a factor of 3 (i.e. the recommended sampling for deconvolution).
- imsize gives the size of the images in pixels. It need not
be a power of two. Generally the beam is also this size, but see
options=double below.
- line is the normal data linetype selection. The default linetype
is the first channel when performing normal imaging and all channels
when doing multi-frequency synthesis. Generally you should set this
parameter if you have more than one channel.
- select is the normal visibility data selection. The default is
to select all data.
- stokes gives the Stokes or polarisation types to be imaged.
Several values can be given, separated by commas. For example
stokes=i,q,u,v
will cause images of Stokes I, Q, U and V to be formed. Note
that there needs to be a corresponding output file (see map
above) for each Stokes parameter being imaged. The default Stokes parameter
to image is `ii', which images Stokes-I, and assumes that the source is
otherwise unpolarised.
- offset: This gives an offset, in arcseconds on the sky, to shift the image
centre away from phase centre. Positive values result in the
image centre being to the north and east of the observing centre. If one value
is given, both RA and DEC are shifted by this amount. If two values are given,
then they are the RA and DEC shifts. The default is no shift.
- options gives extra processing options. Several options can
be given (abbreviated to uniqueness), separated by commas. Possible
values are:
- mfs:
- This invokes multi-frequency synthesis imaging, as
described above. All selected channels and frequencies will be gridded
simultaneously to form a single output image.
- sdb:
- This is used in MFS imaging to cause invert
to produce a spectral
dirty beam (this is stored as a second plane of the beam data-set).
The spectral dirty beam is used by the
deconvolution task mfclean
in determining the spectral index of the
image. Generally if you think you may use mfclean
to deconvolve
your image, then you should set options=sdb.
See the discussion of multi-frequency synthesis in Section 14.4
for more information.
- double:
- Normally invert
makes a beam which is the same
size as the image. However Miriad's deconvolution tasks generally require
a beam which is four times the area than the region being deconvolved.
The double option causes invert
to produce a beam which is
twice the linear extent (four times the area) of the image. In this way,
you can request invert
to map just the region containing real
emission, plus a guard band (at least 5 pixels on each edge).
- systemp:
- See the description in the weighting section above.
- nocal:
- By default, invert
applies any gain
calibration to the data before imaging. The nocal option turns
off this step.
- nopass:
- By default, invert
applies any bandpass
calibration to the data before imaging. The nopass option turns
off this step.
- nopol:
- By default, invert
applies any polarisation
leakage correction to the data before imaging. The nopol option
turns off this step.
- mosaic:
- This invokes invert's mosaic mode. See
Chapter 21 for more information.
- imaginary:
- This makes the `imaginary' image. This is
useful for non-Hermitian data (holography) or for investigating certain
instrumental errors.
- amplitude:
- Set the phase of each visibility to zero before
imaging.
- phase:
- Set the amplitude of each visibility to unity before imaging.
- mode: This determines the imaging algorithm to be used. Possible
values are fft (a conventional grid and FFT imaging algorithm),
dft (a direct Fourier transform approach) and median (a median
Fourier transform). The dft approach produces fewer artifacts in the resultant
images, but at substantial computational expense. The median approach is
more robust to bad data and sidelobes, but at an even more substantial
computational cost. The default mode is fft - this should be used
on all but the smallest datasets and images.
- slop: The slop factor. This is used in spectral-line
imaging. See Section 16.10 for more information.
Typical inputs to invert
for a continuum experiment are given below.
INVERT |
vis=vela.uv.1,vela.uv.2 |
Name of input visibility datasets |
map=vela.imap,vela.vmap |
Name of the output images - one per Stokes |
beam=vela.beam |
Name of the output beam |
cell=1 |
Pixel size is 1 arcsec square |
imsize=256,512 |
Image size is 256 by 512 pixels |
stokes=i,v |
Image Stokes I and V |
sup |
Leave unset to get uniform weighting, |
or |
|
sup=0 |
Set sup to zero for natural weighting |
fwhm |
Specify desired resolution - unset gives the max |
|
resolution |
options=mfs |
Use the MFS option for multi-frequency synthesis, or |
options=mfs,sdb |
use the sbd option as well if using mfclean. |
line |
Controls channel selection and averaging. Default |
|
is all channels when options=mfs. |
For a spectral line observation, typical inputs would be
INVERT |
vis=vela.uv.1,vela.uv.2 |
Name of input visibility datasets |
map=vela.imap |
Name of the output image |
beam=vela.beam |
Name of the output beam |
cell=1 |
Pixel size is 1 arcsec square |
imsize=256,512 |
Image size is 256 by 512 pixels |
stokes=i |
Image Stokes I only |
sup |
Leave unset to get uniform weighting, |
or |
|
sup=0 |
Set sup to zero for natural weighting |
fwhm |
Specify desired resolution - unset gives the max |
|
resolution |
line=velocity,10,1.5,1.0,3.0 |
Map channels to velocities. Image 10 |
|
velocities centred at 1.5, 4.5, 7.5 etc km/s |
In its computation invert
determines the theoretical rms noise.
This noise is calculated assuming that the only source of
error is the system temperature of the front-end receiver. No account
is made of calibration errors, sidelobes or any other `instrumental'
effects. The calculation correctly accounts for the weighting scheme
used in the imaging process. This theoretical noise is the level you
can expect in a detection experiment (assuming no interference or
confusion), and it is the best one can hope for in high dynamic range
work (usually instrumental effects will limit you before the noise
in these sorts of experiments).
The noise calculation of invert
(and all other Miriad tasks that
compute the variance of a correlation) is based on values of system
temperature, system gain, integration time and bandwidth stored in a dataset.
Unfortunately data loaded into Miriad using fits
will have only nominal
system temperatures and system gains, and an educated guess is made for the
integration time. Data loaded using Miriad atlod, the
system temperatures are those measured on-line, and the integration time
will be correct.
See Chapter 8 for a discussion of setting you dataset
up so that noise estimates are correct. The system gain, however, is still
a nominal figure. If system temperature, system gain or integration time
are incorrect by some factor, then the
theoretical rms noise will also be wrong by the same factor.
In continuum mode (i.e. the 33 channel/128 MHz mode), when all 33
channels are retained after atlod
(i.e. options=birdie
was not used) there is another effect which will cause invert's
noise estimate to be a factor of too pessimistic (i.e. the
actual noise is a factor of lower than the printed value).
With the ATCA correlator in this mode mode, the channel bandwidth is
twice as large as the separation between channels (i.e. the
channels are oversampled). Unfortunately invert
assumes that the
bandwidth is the same as the separation. This will only affect you if
you are imaging individual correlator channels (i.e. no frequency
averaging) and if you keep all channels. It will not affect ``channel 0''
or multi-frequency synthesis imaging.
Miriad manager
2016-06-21