Re: [ccp4bb] map file specification

2011-09-20 Thread David Waterman
Hi Pascal, This document makes an attempt at an explanation, but in a somewhat obtuse way: http://conventions.cnb.uam.es/References/maplib.html. The important point is that the machine stamp is 4 bytes that are specific for the architecture that wrote the file. For little endian hardware the stamp

Re: [ccp4bb] map file specification

2011-09-20 Thread Pascal
On 09/15/2011 09:30 AM, Pascal wrote: I am looking at the specifications of the ccp4 map file format and I am confused with the number of columns and the number of intervals. Thanks for all the answers. I can almost write a map file. Only one problem remain: what is the machine stamp (ele

Re: [ccp4bb] map file specification

2011-09-15 Thread David Waterman
Hi Pascal, The map data is a three dimensional array with dimensions [NC, NR, NS]. On its own, this gives you no information about the grid pitch in the three (crystallographic, not Cartesian) directions, which is determined in fractional coordinates by the number of intervals. That is, along the

Re: [ccp4bb] map file specification

2011-09-15 Thread David Waterman
typo: MAPC, MAPR and MAPS are elements 17-19 of the header, but you can see that anyway from the specification. Cheers -- David On 15 September 2011 09:51, David Waterman wrote: > Hi Pascal, > > The map data is a three dimensional array with dimensions [NC, NR, NS]. On > its own, this gives yo

[ccp4bb] map file specification

2011-09-15 Thread Pascal
Hi, I am looking at the specifications of the ccp4 map file format and I am confused with the number of columns and the number of intervals. I assume that the number of columns is the grid size but what is the number of intervals (elements 8-9 in the header)? Regards, Pascal