; PIXRANGE
;---------------------------------------------------------------
;! Range of pixel values to display
;# ADVERB IMAGING GENERAL TV
;-----------------------------------------------------------------------
;;  Copyright (C) 1995, 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
;-----------------------------------------------------------------------
;---------------------------------------------------------------
PIXRANGE  LLLLLLLLLLLLUUUUUUUUUUUU CCCCCCCCCCCCCCCCCCCCCCCCCCCCC
----------------------------------------------------------------
PIXRANGE
Type: Adverb  (Array(2))
Use:   Range of image values used for various tasks and verbs.  The
       first element represents a minimum value and the second element
       represents a maximum value.  The units are the same as those of
       the image.  The values may exceed the values in the image up to a
       fairly extreme limit in some cases.  But if, for example,
       PIXRANGE(2) > 100 * map max, however, the map max is used as
       PIXRANGE(2).
Null Value:  (0,0)
       Null value assignment usually map min to map max.
       PIXRANGE(2) <= PIXRANGE(1) taken as "null value".
Verbs:
   HUEWEDGE......Show a wedge on the TV suitable for TVHUEINT displays.
   TKAGUESS......Verb to add a plot of the slice model guess directly on
                 TEK.
   TKAMODEL......Verb to add slice model display directly on TEK.
   TKARESID......Verb to add slice model residuals directly on TEK.
   TKASLICE......Verb to add a slice display on TEK from slice file.
   TKGUESS.......Verb to display slice model guess directly on TEK.
   TKMODEL.......Verb to display slice model directly on TEK.
   TKRESID.......Verb to display slice model residuals directly on TEK.
   TKSLICE.......Verb to display slice file directly on TEK.
   TVACOMPS......Verb to add slice model components directly on TV
                 graphics.
   TVAGUESS......Verb to re-plot slice model guess directly on TV
                 graphics.
   TVAMODEL......Verb to add slice model display directly on TV graphics.
   TVARESID......Verb to add slice model residuals directly on TV
                 graphics.
   TVASLICE......Verb to add a slice display on TV graphics from slice
                 file.
   TVCOMPS.......Verb to display slice model components directly on TV
                 graphics.
   TVCUBE........Verb to load a cube into TV channel(s) & run a movie.
   TVGUESS.......Verb to display slice model guess directly on TV
                 graphics.
   TVLOD.........Verb to load an image into a TV channel.
   TVMODEL.......Verb to display slice model directly on TV graphics.
   TVMOVIE.......Verb to load a cube into TV channel(s) & run a movie.
   TVRESID.......Verb to display slice model residuals directly on TV
                 graphics.
   TVROAM........Load up to 16 TV image planes and roam a subset thereof.
   TVSLICE.......Verb to display slice file directly on TV.
Procedures:
   COTVLOD.......Proc to load an image into a TV channel about a
                 coordinate.
   TVALL.........Procedure loads image to TV, shows labeled wedge,
                 enhances.
Tasks:
   AGAUS.........Fits 1-dimensional Gaussians to absorption-line spectra.
   AHIST.........Task to convert image intensities by adaptive histogram.
   ALVAR.........Plots the Allan Variance statistic of a UV data set.
   BLANK.........Blanks out selected, e.g. non-signal, portions of an
                 image.
   BLPLT.........Plots BLCAL tables in 2 dimensions as function of
                 baseline and IF.
   BLSUM.........Sums images over irregular sub-images, displays spectra.
   BPERR.........Print and plot BPASS closure outputs.
   BPLOT.........Plots bandpass tables in 2 dimensions as function of
                 time.
   ELFIT.........Plots/fits selected contents of SN, TY, SY, PC or CL
                 files.
   ELINT.........Determines and removes gain dependence on elevation.
   EVAUV.........Subtracts & divides a model into UV data, does statistics
                 on results.
   FILIT.........Interactive BOXFILE editing with facet images.
   GCPLT.........Plots gain curves from text files.
   GREYS.........Plots images as contours over multi-level grey.
   HISEQ.........Task to translate image by histogram equalization.
   HUINT.........Make RGB image from images of intensity & hue, like
                 TVHUEINT.
   IMCLP.........Clip an image to a specified range.
   IMEAN.........Displays the mean & extrema and plots histogram of an
                 image.
   IMFLT.........Fits and removes a background intensity plane from an
                 image.
   IMLHS.........Converts images to luminosity/hue TV display.
   IMRMS.........Plot IMEAN rms answers.
   ISPEC.........Plots and prints spectrum of region of a cube.
   KNTR..........Make a contour/grey plot file from an image w multiple
                 panels.
   PCNTR.........Generate plot file with contours plus polarization
                 vectors.
   PCPLT.........Plots pulse-cal tables in 2 dimensions as function of
                 time.
   PDPLT.........Plots selected contents of PD tables.
   PFPL1.........Paraform Task to generate a plot file: (does grey scale).
   PFPL2.........Paraform Task to generate a plot file: (slice intensity).
   PFPL3.........Paraform Task to generate a plot file: (does histogram).
   PLAYR.........Task to load one or two images and play with them on the
                 TV.
   PLCUB.........Task to plot intensity vs x panels on grid of y,z pixels.
   PLROW.........Plot intensity of a series of rows with an offset.
   PROFL.........Generates plot file for a profile display.
   PRTAN.........Prints the contents of the ANtenna extension file.
   RGBMP.........Task to create an RGB image from the 3rd dim of an image.
   RSPEC.........Plots and prints spectrum of rms of a cube.
   SCLIM.........Operates on an image with a choice of mathematical
                 functions.
   SL2PL.........Task to convert a Slice File to a Plot File.
   SNBLP.........Plots selected contents of SN or CL files on a baseline
                 basis.
   SNFIT.........Fits parabola to SN amplitudes and plots result.
   SNIFS.........Plots selected contents of SN, TY, SY, PC or CL files by
                 IF.
   SNPLT.........Plots selected contents of SN, SY, TY, PC or CL files
                 versus time.
   SOUSP.........Fits source spectral index from SU table or adverbs.
   SPRMS.........Plots spectral statistics of a selected subset of a uv
                 data set.
   SYVSN.........Plots selected SY/TY data with SN solution values versus
                 time.
   TVHUI.........Make TV image from images of intensity, hue, saturation.
   TVIEW.........Display image cube in all 3 transpositions with rotation
                 & reference.
   TVRGB.........Make TV image from images of true color (RGB) images.
   TVSPC.........Display images and spectra from a cube.
   UVHGM.........Plots statistics of uv data files as histogram.
   UVHOL.........Prints holography data from a UV data base with
                 calibration.
   UVRMS.........Computes statistics of a selected subset of a uv data
                 set.
   WETHR.........Plots selected contents of WX tables, flags data based on
                 WX.
   XBASL.........Fits and subtracts nth-order baselines from cube (x
                 axis).
   XGAUS.........Fits 1-dimensional Gaussians to images: restartable.
   XPLOT.........Plots image rows one at a time on the graphics or TV
                 screen.
----------------------------------------------------------------
