Public Member Functions | |
void | FromDensityHeader (const DensityHeader &h) |
Converter from MRCHeader to DensityHeader. | |
void | ToDensityHeader (DensityHeader &h) |
Converter from DensityHeader to MRCHeader. | |
Data Fields | |
float | alpha |
Cell angle (degrees) for x. | |
float | beta |
Cell angle (degrees) for y. | |
float | dmax |
Maximum density value. | |
float | dmean |
Mean density value. | |
float | dmin |
Minimum density value. | |
float | gamma |
Cell angle (degrees) for z. | |
int | ispg |
Sapce group number 0 or 1 (default 0). | |
char | labels [10][80] |
text labels | |
int | machinestamp |
machine stamp (0x11110000 bigendian, 0x44440000 little) | |
char | map [4] |
character string 'MAP ' to identify file type | |
int | mapc |
int | mapr |
int | maps |
int | mode |
Image mode. | |
int | mx |
Intervals along dimension x. | |
int | my |
Intervals along dimension y. | |
int | mz |
Intervals along dimension z. | |
int | nlabl |
Number of labels being used. | |
int | nsymbt |
int | nx |
map size (x dimension) | |
int | nxstart |
number of first columns in map (default = 0) | |
int | ny |
map size (y dimension) | |
int | nystart |
int | nz |
map size (z dimension) | |
int | nzstart |
float | rms |
Standard deviation of map from mean density. | |
int | user [25] |
Number of bytes used for symmetry data (0 or 80). | |
float | xlen |
Cell dimension (angstroms) for x. | |
float | xorigin |
float | ylen |
Cell dimension (angstroms) for y. | |
float | yorigin |
Map origin used for transforms (y dimension). | |
float | zlen |
Cell dimension (angstroms) for z. | |
float | zorigin |
Map origin used for transforms (z dimension). | |
Friends | |
std::ostream & | operator<< (std::ostream &s, const MRCHeader &v) |
Outputs coordinates delimited by single space. |
Axes corresponding to columns (mapc), rows (mapr) and sections (maps) (1,2,3 for x,y,z)
Image mode.
0 image : signed 8-bit bytes range -128 to 127. 1 image : 16-bit halfwords. 2 image : 32-bit reals. 3 transform : complex 16-bit integers 4 transform : complex 32-bit reals
extra space used for anything - 0 by default Map origin used for transforms (x dimension)