; APARM
;---------------------------------------------------------------
;! General numeric array adverb used many places
;# ADVERB GENERAL
;-----------------------------------------------------------------------
;;  Copyright (C) 1995, 2019-2020
;;  Associated Universities, Inc. Washington DC, USA.
;;
;;  This program is free software; you can redistribute it and/or
;;  modify it under the terms of the GNU General Public License as
;;  published by the Free Software Foundation; either version 2 of
;;  the License, or (at your option) any later version.
;;
;;  This program is distributed in the hope that it will be useful,
;;  but WITHOUT ANY WARRANTY; without even the implied warranty of
;;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;  GNU General Public License for more details.
;;
;;  You should have received a copy of the GNU General Public
;;  License along with this program; if not, write to the Free
;;  Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,
;;  MA 02139, USA.
;;
;;  Correspondence concerning AIPS should be addressed as follows:
;;         Internet email: aipsmail@nrao.edu.
;;         Postal address: AIPS Project Office
;;                         National Radio Astronomy Observatory
;;                         520 Edgemont Road
;;                         Charlottesville, VA 22903-2475 USA
;-----------------------------------------------------------------------
;---------------------------------------------------------------
APARM     LLLLLLLLLLLLUUUUUUUUUUUU CCCCCCCCCCCCCCCCCCCCCCCCCCCCC
----------------------------------------------------------------
APARM
Type: Adverb   (Real(10))
Use:  A general adverb which contains ten elements as parameters to
      some process.
Null value:  Usually 0.
   : Too many to describe the usage - read the help files closely,
Procedures:
   DOFARS........Procedure to aid in Faraday rotation synthesis using the
                 FARS task.
   FXAVG.........Procedure to enable VLBA delay de-correlation
                 corrections.
   IMFRING.......Large image delay fitting with IM2CC and OOFRING.
   IMSCAL........Large image self-cal with IM2CC and OOCAL.
   OOCAL.........Determines antenna complex gain with frequency-dependent
                 models.
   OOFRING.......Fringe fit data to determine calibration with spectral
                 index options.
   PEELR.........Calibrates interfering sources in multi-facet imges.
   STUFFR........Averages together data sets in hour angle.
   VLATECR.......Calculate ionospheric delay and Faraday rotation
                 corrections.
   VLBAARCH......Procedure to archive VLBA correlator data.
   VLBACRPL......Plots crosscorrelations.
Tasks:
   ACFIT.........Determine antenna gains from autocorrelations.
   ACLIP.........Edits suto-corr data for amplitudes, phases, and weights
                 out of range.
   AFILE.........Sorts and edits MkIII correlator A-file.
   APCAL.........Apply TY and GC tables to generate an SN table.
   APVC..........Deconvolves images with van Cittert algorithm.
   ATLOD.........Reads ATCA data in RPFITS dormat into AIPS.
   ATMCA.........Determines delay/phase gradient from calibrator
                 observations.
   BASRM.........Task to remove a spectral baseline from total power
                 spectra.
   BLING.........Find residual rate and delay on individual baselines.
   BLOAT.........Converts line data to greater number channels.
   BLSUM.........Sums images over irregular sub-images, displays spectra.
   BPCOR.........Correct BP table.
   BPEDT.........Interactive TV task to edit uv data based on BP tables.
   BPEPL.........Plots bandpass tables overlaying multiple times like
                 BPEDT.
   BPFLG.........Flgas uv data based on bad BP values.
   BPSMO.........Smooths or interpolates bandpass tables to regular times.
   BSCAN.........Seeks best scan to use for phase cal, fringe search, ..
   BSGEO.........Beam-switched Az-El image to RA-Dec image translation.
   BSGRD.........Task to image beam-switched single-dish data.
   BSMOD.........Creates single-dish UV beam-switched data with model
                 sources.
   BSTST.........Graphical display of solutions to frequency-switched
                 data.
   CALIB.........Determines antenna calibration: complex gain.
   CL2HF.........Convert CL table to HF table.
   CLIP..........Edits data based on amplitudes, phases, and weights out
                 of range.
   COHER.........Baseline Phase coherence measurement.
   COMB..........Combines two images by a variety of mathematical methods.
   CONFI.........Optimize array configuration by minimum side lobes.
   CVEL..........Shifts spectral-line UV data to a given velocity.
   DCONV.........Deconvolves a gaussian from an image.
   DELZN.........Determines residual atmosphere depth at zenith and clock
                 errors.
   DENAN.........Modifies UV data flagging all NaNs.
   DFQID.........Modifies UV data changing the indicated FQIDs.
   DSORC.........Copies a data set elliminating some source numbers.
   DTCHK.........Task to check results of a test using simulated data.
   DTSUM.........Task to provide a summary of the contents of a dataset.
   ELFIT.........Plots/fits selected contents of SN, TY, SY, PC or CL
                 files.
   EVAUV.........Subtracts & divides a model into UV data, does statistics
                 on results.
   FARS..........Faraday rotation synthesis based on the brightness vs
                 wavelength.
   FGSPW.........Flags bad spectral windows.
   FILLM.........Reads VLA on-line/archive format uv data tapes (post Jan
                 88).
   FLATN.........Re-grid multiple fields into one image incl sensitivity.
   FLGIT.........Flags data based on the rms of the spectrum.
   FRCAL.........Faraday rotation self calibration task.
   FRING.........Fringe fit data to determine antenna calibration, delay,
                 rate.
   FRMAP.........Task to build a map using fringe rate spectra.
   FRPLT.........Task to plot fringe rate spectra.
   FUDGE.........Modifies UV data with user's algorithm: paraform task.
   FXVLA.........Task to correct VLA data for on-line errors in special
                 cases.
   GAL...........Determine parameters from a velocity field.
   GLENS.........Models galaxy gravitational lens acting on 3 component
                 source.
   GREYS.........Plots images as contours over multi-level grey.
   HGEOM.........Interpolates image to different gridding and/or geometry.
   HLPSCIMG......Full-featured image plus self-cal loops, editing -
                 run-time help.
   HLPSCMAP......Imaging plus self-cal and editing SCMAP - run-time help.
   HOLGR.........Read & process holography visibility data to telescope
                 images.
   HOLOG.........Read & process holography visibility data to telescope
                 images.
   IMFLT.........Fits and removes a background intensity plane from an
                 image.
   IMLHS.........Converts images to luminosity/hue TV display.
   IRING.........Integrates intensity / flux in rings / ellipses.
   LAYER.........Task to create an RGB image from multiple images.
   LGEOM.........Regrids images with rotation, shift using interpolation.
   M3TAR.........Translate Haystack MKIII VLBI format "A" TAR's into AIPS.
   MAPBM.........Map VLA beam polarization.
   MBDLY.........Fits multiband delays from IF phases, updates SN table.
   MEDI..........Combines four images by a variety of mathematical
                 methods.
   MK3IN.........Translate Haystack MKIII VLBI format "A" tapes into AIPS.
   MODAB.........Makes simple absorption/emission spectral-line image in
                 I/V.
   MODIM.........Adds images of model objects to image cubes in IQU
                 polarization.
   MODSP.........Adds images of model objects to image cubes in I/V
                 polarization.
   MODVF.........Task to create a warped velocity field.
   MULTI.........Task to convert single-source to multi-source UV data.
   OBEDT.........Task to flag data of orbiting antennas.
   OBPLT.........Plot columns of an OB table.
   OBTAB.........Recalculate orbit parameters and other spacecraft info.
   OGEOM.........Simple image rotation, scaling, and translation.
   OHGEO.........Geometric interpolation with correction for 3-D effects.
   OMFIT.........Fits sources and, optionally, a self-cal model to uv
                 data.
   PANEL.........Convert HOLOG output to panel adjustment table.
   PCEDT.........Interactive TV task to edit pulse-cal (PC) tables.
   PCHIS.........Generates a histogram plot file from text input, e.g.
                 from PCRMS.
   PCRMS.........Finds statistics of a pulse-cal table; flags bad times
                 and channels.
   PCVEL.........Shifts spectral-line UV data to a given velocity: planet
                 version.
   PDPLT.........Plots selected contents of PD tables.
   PEEK..........Fits pointing model function to output from the VLA.
   PGEOM.........Task to transform an image into polar coordinates.
   PHASE.........Baseline Phase coherence measurement.
   PLCUB.........Task to plot intensity vs x panels on grid of y,z pixels.
   PLOTR.........Basic task to generate a plot file from text input.
   POSSM.........Task to plot total and cross-power spectra.
   QUACK.........Flags beginning or end portions of UV-data scans.
   REGRD.........Regrids an image from one co-ordinate frame to another.
   REWAY.........Computes weights based in rms in spectra.
   RLDLY.........Fringe fit data to determine antenna R-L delay
                 difference.
   RM............Task to calculate rotation measure and magnetic field
   RM2PL.........Plots spectrum of a pixel with RMFIT fit.
   RMTFC.........Convolves rotation measure transfer function with various
                 slab models.
   SABOX.........Create box file from source islands in facet images.
   SBCOR.........Task to correct VLBA data for phase shift between USB &
                 LSB.
   SCIMG.........Full-featured imaging plus self-calibration loop with
                 editing.
   SCMAP.........Imaging plus self-calibration loop with editing.
   SDCAL.........Task to apply single dish calibration.
   SDGRD.........Task to select and image random-position single-dish
                 data.
   SDIMG.........Task to select and image random-position single-dish
                 data.
   SDMOD.........Modifies single-dish UV data with model sources.
   SDTUV.........Task to convert SD table files to UV like data.
   SETJY.........Task to enter source info into source (SU) table.
   SHADO.........Calculate the shadowing of antennas at the array.
   SLCOL.........Task to collate slice data and models.
   SNBLP.........Plots selected contents of SN or CL files on a baseline
                 basis.
   SNFIT.........Fits parabola to SN amplitudes and plots result.
   SNPLT.........Plots selected contents of SN, SY, TY, PC or CL files
                 versus time.
   SPLAT.........Applies calibration and splits or assemble selected
                 sources.
   SPLIT.........Converts multi-source to single-source UV files w
                 calibration.
   SPRMS.........Plots spectral statistics of a selected subset of a uv
                 data set.
   STFUN.........Task to calculate a structure function image.
   SYVSN.........Plots selected SY/TY data with SN solution values versus
                 time.
   TABED.........Task to edit tables.
   TAFLG.........Flags data in a Table extension file.
   TAMRG.........Task to merge table rows under specified conditions.
   TAPLT.........Plots data from a Table extension file.
   TARPL.........Plot input and output text files of the TARS task.
   TARS..........Simulation of Faraday rotation synthesis (mainly task
                 FARS).
   TECOR.........Calculate ionospheric delay and Faraday rotation
                 corrections.
   TFILE.........Sorts and edits MkIII correlator UNIX-based A-file.
   TRUEP.........Determines true antenna polarization from special data
                 sets.
   TVCPS.........Task to copy a TV screen-image to a PostScript file.
   TVDIC.........Task to copy a TV screen-image to a Dicomed film
                 recorder.
   TVSPC.........Display images and spectra from a cube.
   TYCOP.........Copy TY or SY table calibration between IFs.
   TYSMO.........Smooths and filters a calibration TY or SY table.
   UBAVG.........Baseline dependent time averaging of uv data.
   UFLAG.........Plots and edits data using a uv-plane grid and the TV.
   UVBAS.........Averages several channels and subtracts from uv data.
   UVCON.........Generate sample UV coverage given a user defined array
                 layout.
   UVCRS.........Finds the crossing points of UV-ellipses.
   UVDGP.........Copy a UV data file, deleting a portion of it.
   UVDIF.........Prints differences between two UV data sets.
   UVFIL.........Create, fill a uv database from user supplied
                 information.
   UVFLG.........Flags UV-data.
   UVFND.........Prints selected data from UV data set to search for
                 problems.
   UVHOL.........Prints holography data from a UV data base with
                 calibration.
   UVPLT.........Plots data from a UV data base in multiple ways.
   UVRFI.........Mitigate RFI by Fourier transform or fitting the circle.
   UVRMS.........Computes statistics of a selected subset of a uv data
                 set.
   UVSEN.........Determine RMS sidelobe level and brightness sensitivity.
   UVSIM.........Generate sample UV coverage given a user defined array
                 layout.
   UVSUB.........Subtracts/divides a model from/into a uv data base.
   UVWAX.........Flags uv samples near the U,V  axes to reduce
                 interference.
   VBCAL.........Scale visibility amplitudes by antenna based constants.
   VPLOT.........Plots uv data and model from CC file.
   WARP..........Model warps in Galaxies.
   WETHR.........Plots selected contents of WX tables, flags data based on
                 WX.
   WTMOD.........Modifies weights in a UV data set.
   XG2PL.........Plots spectrum of a pixel with XGAUS/AGAUS and
                 ZEMAN/ZAMAN fits.
----------------------------------------------------------------
