FS - Find Statistics

(11/28/19)

PURPOSE

To compute and list statistical parameters (i.e. minimum, maximum, average, and standard deviation) of a SPIDER or MRC image/volume.   Example.

SEE ALSO

FS M [Find Statistics - within Mask]
FI [File Information - List and retrieve file header value(s) by location]
FI H [File Information - Retrieve file Header values by name]
LI X [List image values - in register variables]
ST [Set values in data file header]

USAGE

.OPERATION: FS [max],[min],[avg],[std]

[Find image info. This operation can return up to 4 optional register variables which contain:
Variable Example Receives
First [max] Maximum density in file
Second [min] Minimum density in file
Third [avg] Average density in file
Fourth [std] Standard deviation

.INPUT FILE NAME OR TEMPLATE (E.G. STK@****): IMG001
[Enter name of SPIDER or MRC image file to be analyzed. If this is a whole stack then results are reported for all of the images in the stack.]

If the input file name contains a template for a set of images SPIDER asks:


.FILE NUMBERS OR SELECTION DOC. FILE NAME: select_03
[Enter the file numbers to be substituted into the file name template or name of a selection document file that contains the file numbers in the first register column.]

NOTES

  1. The statistical parameters will be listed on the terminal in interactive mode and in the results file.

  2. If the values are already present in the header of the file then they are taken from the header. If not the values are determined by scanning the file contents.

  3. For SPIDER images the standard deviation is obtained using number of pixels -1.

SUBROUTINES

QSTAT, NORM3, OPFILES

CALLER

UTIL1