next up previous contents index
Next:   STOP MACRO Up: The KEYBOARD INTERFACE: Command Summary Previous:   START MACRO

  STATISTICS

            

Calculate a number of basic statistical quantities from the data within the current ADR e.g. mean, total counts, and standard deviation. A typical program display may be as follows:

Main menu: ENTER COMMAND [INPUT DATA]:stat
Statistics of active data region (ADR):
  DC limits: Min (    .50     ,    .50    ) Max (  100.     ,   100.    )
  Pixel number limits: Min (     1 ,     1) Max (  100 ,   100)
  Total number of data values =    100 *    100 =        10000
  Minimum data value =    1.146601
  Maximum data value =    3.099321
  Average (mean) data value =    2.000000
  Sum of data values =    20000.00
  Root mean square (RMS) value =    2.063915
  Standard deviation value =    .5096754
  Skewness parameter =    .1356223

(By changing the ADR and using STATISTICS a basic from of peak integration may be carried out. See IMAGE command, Section 15.49, Page [*], for the DISPLAY graphical sub-menu command STATISTICS for much more flexible polygon integration possibilities.)

The following program variables, all of data type floating point real are automatically defined by the STATISTICS command with corresponding values:

##MINIMUM Minimum data value within the ADR
##MAXIMUM Minimum data value within the ADR
##MEAN Mean (average) data value within the ADR
##TOTAL Sum of data values within the ADR
##RMS Root mean square value within the ADR
##SIGMA Standard deviation of data values within the ADR
##SKEWNESS The skewness parameter of the data values within the ADR


Andy Hammersley
8/26/1998