% @(#)testb4ccd.hlq	19.1 (ESO-SDAG) 02/25/03 14:16:56
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%.COPYRIGHT  (c)  1994 European Southern Observatory
%.IDENT      testb4ccd.hlq
%.AUTHOR     RHW, SDAG/ESO
%.KEYWORDS   MIDAS, ccd package, bias, testing
%.PURPOSE    On-line help file for the command: TESTB4/CCD
%.VERSION    940620 RHW created
%.VERSION    950210 RHW txt output eliminated; printed info reduced
%---------------------------------------------------------------------
\se
SECTION./CCD
\es\co
TESTB4/CCD                                                      20-Jun-1994 RHW
\oc\su
TESTB4/CCD in_frm [out_id] [area] [size,fac]
	Make a histogram of the pixel intensities and rebin the input frame
\us\pu
Purpose:    
	Make a histogram of the pixel intensities and rebin the input frame
\up\sy
Syntax:     
	TESTB4/CCD in_frm [out_id] [area] [size,fac]
\ys\pa
        in_frm =  input frame; no default
\ap\pa 
        out_id =  output identifier for the output of the test prodedure. 
                  All output (i.e. frames, listings and plots) will start 
                  with this identifier. Default is BIAS.
\ap\pa 
        area =    area which the histogram is computed; Default is whole image
                  area.
\ap\pa
        size,fact = size of smoothing box used for median filtering and
                  decimation factor for frame size reduction. Default is 5,16.
                  The default size 5 for the filtering implies a filtering
                  over boxes of 11 by 11 pixels.
\ap\no
Note:
        This command is the fourth test of a series of tests bias frames: B1 to
        B5. See the command TESTBA/CCD.
\\
        The command will first correct the frame for hot pixels and then rebin
        it. A histogram of this rebinned frame is made.
\\
        For more details about the various combining methods, please refer 
        to the CCD Chapter in Volume B of the ESO-MIDAS Users' Guide.
\on\op
Output:
        The command will stored the outputs in a number of ascii and 
        postscript files (preceding by the identification string out_id):\\
           `out_id'_hist.ps:    postscript file with a plot of the histogram;\\
           `out_id'_rebin.bdf:  cleaned and rebinned combined bias frame;\\
           `out_id'_rebin.ps:   postscript file with an image of the above;\\
\po\see
See also:   
        TESTBA/CCD, SET/CCD, SHOW/CCD, COMBINE/CCD, AVERAGE/ROW, 
        AVERAGE/COLUMN, FILTER/MEDIAN, Ch. 3 in Vol. 2 of the Users Guide.
\ees\exs
Examples:
\ex
        TESTB4/CCD BIAS BS [@900,@900:@1100,@1100]
        Run the test procedure on the frame BIAS. Use the defaults for the
        rebinning.
\xe \sxe



