HOME GUIDE OPERATIONS DOCS FAQ TECHNIQUES FORMATS INSTALL NEW TIPS WEB LINKS WADSWORTH

FI X - File Information - place header values in registers

(12/12/05)

PURPOSE

Retrieve particular locations from the file header and place them in specified registers.

SEE ALSO

FI [File Information - place header value(s) in register variable]
FI A [File Information - Multiple files]
FI N [File Information - Do not halt if file not found]
FI X [File Information - place header values in registers]
FR [Read (sets) a local symbolic parameter (string variable)]
ST [Set values in image header]

USAGE

.OPERATION: FI [fmax],[avd]

.FILE INFO. ON FILE: PIC002
[The routine allows the user to retrieve particular locations from the file header and place them in the desired registers. The following question will appear:

.ENTER NUMBER(S) OF LABEL LOCATIONS TO BE RETRIEVED: 7,9

[Label location No. 7 (which is FMAX) is placed in register [fmax] and No. 9 (which is AVD) is placed in register variable: [avd]. The label location input is done using subroutine GETNUM. i.e. no parentheses needed in DO loops.]

NOTES

  1. Some locations from the from the file header that can be retrieved;
     
                1  NSLICE = Number of slices (planes) in volume 
                            (= 1  for an image) 
                2  NROW   = Number of rows per slice 
                7  FMAX   = IMAGE MAXIMUM 
                8  FMIN   = IMAGE MINIMUM 
                9  AVD    = IMAGE AVERAGE 
               10  SIG    = STANDARD DEVIATION (SQ. ROOT OF VARIANCE) 
               11  IHIST  = FLAG INDICATING THAT HISTOGRAM HAS 
                                  BEEN COMPUTED, AND STORED 
               12  NSAM   = Number of pixels per line 
               14  IANGLE = FLAG INDICATING THAT TILT ANGLES STORED 
               15  PHI    = TILT ANGLE 
               16  THETA  = TILT ANGLE 
               17  PSI    = TILT ANGLE 
               18  XOFF   = X OFFSET 
               19  YOFF   = Y OFFSET 
               20  ZOFF   = Z OFFSET 
               21  SCALE  = SCALE 
               26  MAXIM  = HIGHEST IMAGE NUMBER IN USE 
    

  2. See SPIDER image file format description for a complete listing of buffer positions.

SUBROUTINES

FILGEN, FILDAT

CALLER

UTIL1

© Copyright Notice /       Enquiries: spider@wadsworth.org

BACK TO SPIDER BACK TO WADSWORTH