KPG1_STFLx

Writes statistics generated by KPG1_STATx, KPG_OSTAx, and KPG1_HSTAx to a text file

Description:

This routine writes the statistics of pixel data as generated by the routines KPG1_STATx, KPG_OSTAx, and KPG1_HSTAx to a text file.

Invocation

CALL KPG1_STFLx( IWCS, NDIM, EL, NGOOD, DMIN, MINP, MINC, DMAX, MAXP, MAXC, SUM, MEAN, STDEV, SKEW, KURTOS, MEDIAN, MODE, NUMPER, PERCNT, PERVAL, IFIL, STATUS )

Arguments

IWCS = INTEGER (Given)
Pointer to WCS FrameSet.
NDIM = INTEGER (Given)
Number of dimensions of the array whose statistics are being displayed.
EL = INTEGER (Given)
Total number of pixels in the array.
NGOOD = INTEGER (Given)
Number of valid pixels which contributed to the statistics.
DMIN = DOUBLE PRECISION (Given)
Minimum pixel value.
MINP( NDIM ) = INTEGER (Given)
Pixel indices at which the minimum pixel value was (first) found.
MINC( NDIM ) = DOUBLE PRECISION (Given)
The co-ordinate values of the centre of the minimum pixel.
DMAX = DOUBLE PRECISION (Given)
Maximum pixel value.
MAXP( NDIM ) = INTEGER (Given)
Pixel indices at which the maximum pixel value was (first) found.
MAXC( NDIM ) = DOUBLE PRECISION (Given)
The co-ordinate values of the centre of the maximum pixel.
SUM = DOUBLE PRECISION (Given)
Pixel sum.
MEAN = DOUBLE PRECISION (Given)
Pixel mean value.
STDEV = DOUBLE PRECISION (Given)
Pixel standard deviation value.
SKEW = DOUBLE PRECISION (Given)
Skewness of the pixel values.
KURTOS = DOUBLE PRECISION (Given)
Pixel kurtosis.
MEDIAN = DOUBLE PRECISION (Given)
Median value.
MODE = DOUBLE PRECISION (Given)
Modal value.
NUMPER = INTEGER (Given)
Number of percentiles values to report.
PERCNT( NUMPER ) = REAL (Given)
The array of percentiles levels corresponding to the values given by PERVAL. They should be in the range 0.0 to 100.0, and preferably in ascending order. If there are none to report, set NUMPER to 1 and pass the bad value in PERCNT( 1 ).
PERVAL( NUMPER ) = DOUBLE PRECISION (Given)
Percentile values corresponding to the percentile fractions in PERCNT.
IFIL = INTEGER (Given)
FIO_ file descriptor for the output file.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: