FI - File Information - List and retrieve file header value(s) by location

(11/13/19)

PURPOSE

Lists some header values from specified SPIDER or MRC file in the results file. Can optionally retrieve particular values from the file header by location and place the values in specified register variables.
Note: This is a legacy operation. It is usually easier to use: ''FI H' to retrieve header values.   Example.

SEE ALSO

FI H [File Information - Retrieve file Header values by name]
FI A [File Information - Multiple files]
FI N [File Information - List and retrieve, No halt if file not found]
FS [Find Statistics]
ST [Set values in data file header]

USAGE

.OPERATION: FI [maxi],[average]

[This operation takes a variable number of optional register variables. On completion of the operation, the variable(s) receive the values in header locations specified. Always prints out: Minimum, Maximum, Average, Standard deviation, Phi, Theta, Psi, X offset, Y offset, and Z offset header values from the file in the results file.]

.INPUT FILE: PIC002
[SPIDER or MRC file name.]

If register variables are present on the operation line SPIDER asks:

.NUMBER(S) OF HEADER LOCATION(S) TO BE RETRIEVED: 7, 9

[Here, label location No. 7 (which is FMAX) is placed in register variable: [maxi] and No. 9 (which is AV) is placed in register variable: [average].]

NOTES

  1. If the statistical variables (i.e. FMIN,FMAX,AV, & SIG) are not already present in the header of the file then they are not calculated. Only values already in the header are listed. Use: 'FS' to update these values in the header.

  2. SPIDER file header locations.

  3. MRC file header locations.

SUBROUTINES

FILGEN, FILDAT

CALLER

UTIL1

© Copyright Notice /       Enquiries: spider@health.gov.ny