IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::em::SpiderHeader Struct Reference

Header for Spider images. IMP-EM is designed to be compatible with it. More...

#include <IMP/em/SpiderHeader.h>

Detailed Description

Header for Spider images. IMP-EM is designed to be compatible with it.

Definition at line 17 of file SpiderHeader.h.

Public Member Functions

void show (std::ostream &out) const

Public Attributes

float Aend
float Ainc
float Astart
 1=RT, 2=FFT(RT)
char empty [576]
 Empty field in the SPIDER header format.
float fAngle1
 x9 = 72 bytes: Geometric info
float fAv
 average value
float fFlag
 THAT ANGLES ARE SET.
float fFmax
 maximum value in the image
float fFmin
 minimum value in the image
double fGeo_matrix [3][3]
float fIangle
 flag that tilt angles are present.
float fIform
 FILE TYPE SPECIFIER.
float fIhist
 FLAG INDICATING IF THE HISTOGRAM HAS BE COMPUTED. NOT USED IN 3D FILES!
float fImami
 MAXIMUM/MINIMUM FLAG.
float fLabbyt
 Total number of bytes in the header.
float fLabrec
 number of records in file header (label)
float fLenbyt
 RECORD LENGTH IN BYTES.
float Flip
 0= no flipping , 1= flipping (Xmipp compatibility)
float fNcol
 Number of columns.
float fNlabel
 Auxiliary number used to compute the number of records.
char fNothing [24]
 this is a Spider incongruence. 24 bytes without meaning
float fNrec
 Total number of records.
float fNrow
 Number of rows.
float fNslice
 Number of slices (=1 for images).
float fPhi
 1st Euler rotation angle (Rot) (ZYZ convention)
float fPhi1
float fPhi2
float fPsi
 3rd Euler rotation angle (Psi) (ZYZ convention)
float fPsi1
float fPsi2
float fr1
 angle info
float fr2
float fScale
 SCALE.
float fSig
 Standard deviation. If -1 it means that it has no been computed.
float fTheta
 2nd Euler rotation angle (Tilt) (ZYZ convention)
float fTheta1
float fTheta2
float fXoff
 X TRANSLATION.
float fYoff
 Y TRANSLATION.
float fZoff
 Z TRANSLATION.
float Rsigma
float RTflag
 For Radon transforms.
char szIDat [12]
 date
char szITim [8]
 time of creation
char szITit [160]
 Title.
float Tend
float Tinc
float Tstart
 4*7 = 28 bytes
float Weight
 For Max-Likelihood refinement (Xmipp compatibility).

Member Function Documentation

◆ show()

void IMP::em::SpiderHeader::show ( std::ostream & out) const

Definition at line 126 of file SpiderHeader.h.

Member Data Documentation

◆ Aend

float IMP::em::SpiderHeader::Aend

Definition at line 103 of file SpiderHeader.h.

◆ Ainc

float IMP::em::SpiderHeader::Ainc

Definition at line 104 of file SpiderHeader.h.

◆ Astart

float IMP::em::SpiderHeader::Astart

1=RT, 2=FFT(RT)

Definition at line 102 of file SpiderHeader.h.

◆ empty

char IMP::em::SpiderHeader::empty[576]

Empty field in the SPIDER header format.

Originally is 700 bytes long, but additional information has been added: empty 700-76-40=624-40-8= 576 bytes

Definition at line 118 of file SpiderHeader.h.

◆ fAngle1

float IMP::em::SpiderHeader::fAngle1

x9 = 72 bytes: Geometric info

Definition at line 97 of file SpiderHeader.h.

◆ fAv

float IMP::em::SpiderHeader::fAv

average value

Definition at line 51 of file SpiderHeader.h.

◆ fFlag

float IMP::em::SpiderHeader::fFlag

THAT ANGLES ARE SET.

1 = ONE ADDITIONAL ROTATION IS PRESENT, 2 = ADDITIONAL ROTATION THAT PRECEDES THE ROTATION THAT WAS STORED IN 15 FOR DETAILS SEE MANUAL CHAPTER VOCEUL.MAN

Definition at line 89 of file SpiderHeader.h.

◆ fFmax

float IMP::em::SpiderHeader::fFmax

maximum value in the image

Definition at line 47 of file SpiderHeader.h.

◆ fFmin

float IMP::em::SpiderHeader::fFmin

minimum value in the image

Definition at line 49 of file SpiderHeader.h.

◆ fGeo_matrix

double IMP::em::SpiderHeader::fGeo_matrix[3][3]

Definition at line 96 of file SpiderHeader.h.

◆ fIangle

float IMP::em::SpiderHeader::fIangle

flag that tilt angles are present.

Definition at line 61 of file SpiderHeader.h.

◆ fIform

float IMP::em::SpiderHeader::fIform

FILE TYPE SPECIFIER.

+3 FOR A 3-D FILE (FLOAT) +1 FOR A 2-D IMAGE (FLOAT) -1 FOR A 2-D FOURIER TRANSFORM -3 FOR A 3-D FOURIER TRANSFORM -5 FOR A NEW 2-D FOURIER TRANSFORM -7 FOR A NEW 3-D FOURIER TRANSFORM +8 FOR A 2-D EIGHT BIT IMAGE FILE +9 FOR A 2-D INT IMAGE FILE 10 FOR A 3-D INT IMAGE FILE 11 FOR A 2-D EIGHT BIT COLOR IMAGE FILE

Definition at line 39 of file SpiderHeader.h.

◆ fIhist

float IMP::em::SpiderHeader::fIhist

FLAG INDICATING IF THE HISTOGRAM HAS BE COMPUTED. NOT USED IN 3D FILES!

Definition at line 55 of file SpiderHeader.h.

◆ fImami

float IMP::em::SpiderHeader::fImami

MAXIMUM/MINIMUM FLAG.

IS SET AT 0 WHEN THE FILE IS CREATED, AND AT 1 WHEN THE MAXIMUM AND MINIMUM HAVE BEEN COMPUTED, AND HAVE BEEN STORED INTO THIS LABEL RECORD (SEE FOLLOWING WORDS)

Definition at line 45 of file SpiderHeader.h.

◆ fLabbyt

float IMP::em::SpiderHeader::fLabbyt

Total number of bytes in the header.

Definition at line 77 of file SpiderHeader.h.

◆ fLabrec

float IMP::em::SpiderHeader::fLabrec

number of records in file header (label)

Definition at line 59 of file SpiderHeader.h.

◆ fLenbyt

float IMP::em::SpiderHeader::fLenbyt

RECORD LENGTH IN BYTES.

Definition at line 79 of file SpiderHeader.h.

◆ Flip

float IMP::em::SpiderHeader::Flip

0= no flipping , 1= flipping (Xmipp compatibility)

Definition at line 112 of file SpiderHeader.h.

◆ fNcol

float IMP::em::SpiderHeader::fNcol

Number of columns.

Definition at line 57 of file SpiderHeader.h.

◆ fNlabel

float IMP::em::SpiderHeader::fNlabel

Auxiliary number used to compute the number of records.

Definition at line 25 of file SpiderHeader.h.

◆ fNothing

char IMP::em::SpiderHeader::fNothing[24]

this is a Spider incongruence. 24 bytes without meaning

Definition at line 81 of file SpiderHeader.h.

◆ fNrec

float IMP::em::SpiderHeader::fNrec

Total number of records.

Definition at line 23 of file SpiderHeader.h.

◆ fNrow

float IMP::em::SpiderHeader::fNrow

Number of rows.

Definition at line 21 of file SpiderHeader.h.

◆ fNslice

float IMP::em::SpiderHeader::fNslice

Number of slices (=1 for images).

Definition at line 19 of file SpiderHeader.h.

◆ fPhi

float IMP::em::SpiderHeader::fPhi

1st Euler rotation angle (Rot) (ZYZ convention)

Definition at line 63 of file SpiderHeader.h.

◆ fPhi1

float IMP::em::SpiderHeader::fPhi1

Definition at line 90 of file SpiderHeader.h.

◆ fPhi2

float IMP::em::SpiderHeader::fPhi2

Definition at line 93 of file SpiderHeader.h.

◆ fPsi

float IMP::em::SpiderHeader::fPsi

3rd Euler rotation angle (Psi) (ZYZ convention)

Definition at line 67 of file SpiderHeader.h.

◆ fPsi1

float IMP::em::SpiderHeader::fPsi1

Definition at line 92 of file SpiderHeader.h.

◆ fPsi2

float IMP::em::SpiderHeader::fPsi2

Definition at line 95 of file SpiderHeader.h.

◆ fr1

float IMP::em::SpiderHeader::fr1

angle info

Definition at line 98 of file SpiderHeader.h.

◆ fr2

float IMP::em::SpiderHeader::fr2

Definition at line 99 of file SpiderHeader.h.

◆ fScale

float IMP::em::SpiderHeader::fScale

SCALE.

Definition at line 75 of file SpiderHeader.h.

◆ fSig

float IMP::em::SpiderHeader::fSig

Standard deviation. If -1 it means that it has no been computed.

Definition at line 53 of file SpiderHeader.h.

◆ fTheta

float IMP::em::SpiderHeader::fTheta

2nd Euler rotation angle (Tilt) (ZYZ convention)

Definition at line 65 of file SpiderHeader.h.

◆ fTheta1

float IMP::em::SpiderHeader::fTheta1

Definition at line 91 of file SpiderHeader.h.

◆ fTheta2

float IMP::em::SpiderHeader::fTheta2

Definition at line 94 of file SpiderHeader.h.

◆ fXoff

float IMP::em::SpiderHeader::fXoff

X TRANSLATION.

Definition at line 69 of file SpiderHeader.h.

◆ fYoff

float IMP::em::SpiderHeader::fYoff

Y TRANSLATION.

Definition at line 71 of file SpiderHeader.h.

◆ fZoff

float IMP::em::SpiderHeader::fZoff

Z TRANSLATION.

Definition at line 73 of file SpiderHeader.h.

◆ Rsigma

float IMP::em::SpiderHeader::Rsigma

Definition at line 105 of file SpiderHeader.h.

◆ RTflag

float IMP::em::SpiderHeader::RTflag

For Radon transforms.

lift up cosine mask parameters

Definition at line 101 of file SpiderHeader.h.

◆ szIDat

char IMP::em::SpiderHeader::szIDat[12]

date

Definition at line 120 of file SpiderHeader.h.

◆ szITim

char IMP::em::SpiderHeader::szITim[8]

time of creation

Definition at line 122 of file SpiderHeader.h.

◆ szITit

char IMP::em::SpiderHeader::szITit[160]

Title.

Definition at line 124 of file SpiderHeader.h.

◆ Tend

float IMP::em::SpiderHeader::Tend

Definition at line 107 of file SpiderHeader.h.

◆ Tinc

float IMP::em::SpiderHeader::Tinc

Definition at line 108 of file SpiderHeader.h.

◆ Tstart

float IMP::em::SpiderHeader::Tstart

4*7 = 28 bytes

Definition at line 106 of file SpiderHeader.h.

◆ Weight

float IMP::em::SpiderHeader::Weight

For Max-Likelihood refinement (Xmipp compatibility).

4*3 = 12, 12+28 = 40B

Definition at line 110 of file SpiderHeader.h.


The documentation for this struct was generated from the following file: