Project

General

Profile

File Formats » History » Revision 5

Revision 4 (Jim Pulokas, 05/09/2013 04:50 PM) → Revision 5/7 (Jim Pulokas, 05/14/2013 02:03 PM)

h1. File Formats 

 _...under construction..._ 

 h2. CCP4, MRC, and variants 

 |_. byte 
     offset |_. word 
                offset 
               (first=0) |_. word 
                             index 
                             (first=1) |_. field        |_. type    |_. description           |_. "CCP4":http://www.ccp4.ac.uk/html/maplib.html#description |_. "MRC":http://www2.mrc-lmb.cam.ac.uk/research/locally-developed-software/image-processing-software/#image     |_. "MRC-IMOD":http://bio3d.colorado.edu/imod/doc/mrc_format.txt |  
 |>.     0 |>.     0 |>.     1 |=. N ~x~           |/3. int32 |/3. 3-D size of data array, 
                                                           fastest changing first     | 
 |>.     4 |>.     1 |>.     2 |=. N ~y~           | 
 |>.     8 |>.     2 |>.     3 |=. N ~z~           | 
 |>.    12 |>.     3 |>.     4 |=. mode            | int32 | data type: 
                                                   0: signed 8-bit integer 
                                                   1: signed 16-bit integer 
                                                   2: 32-bit float 
                                                   3: 16-bit complex integer 
                                                   4: 32-bit complex float       | additionally: also: 
                                                                                 mode 5: same as mode    0            |    |    additionally: also: 
                                                                                                           6:    16-bit unsigned integer 
                                                                                                          16:    3x8-bit unsigned int, RGB   
                                                                                                         NOTE: mode 0 may be signed 
                                                                                                         or unsigned depending  
                                                                                                         on codes found at byte 
                                                                                                         offset 152 and 156                 | 
 |>.    16 |>.     4 |>.     5 |=. Start ~x~        |/3. int32 |/3. number of the first element 
                                                          in each dimension, if this 
                                                          is a sub-array of another | 
 |>.    20 |>.     5 |>.     6 |=. Start ~y~        | 
 |>.    24 |>.     6 |>.     7 |=. Start ~z~        | 
 |>.    28 |>.     7 |>.     8 |=. Intervals ~x~    |/3. int32 |/3. number of grid intervals 
                                                            along each dimension        | 
 |>.    32 |>.     8 |>.     9 |=. Intervals ~y~    | 
 |>.    36 |>.     9 |>.    10 |=. Intervals ~z~    | 
 |>.    40 |>.    10 |>.    11 |=. Cell Length ~x~     |/3. float32 |/3. cell length in angstrom | 
 |>.    44 |>.    11 |>.    12 |=. Cell Length ~y~     | 
 |>.    48 |>.    12 |>.    13 |=. Cell Length ~z~     | 
 |>.    52 |>.    13 |>.    14 |=. Cell Angle α    |/3. float32 |/3. cell angles in degrees | 
 |>.    56 |>.    14 |>.    15 |=. Cell Angle β     | 
 |>.    60 |>.    15 |>.    16 |=. Cell Angle γ    | 

 _...under construction..._