gpp4  1.3.1
Functions
src/cmap_data.h File Reference

Header file for CCP4 map functions. More...

Go to the source code of this file.

Functions

int number_sections (CMMFile *mfile)

Detailed Description

Header file for CCP4 map functions.


Function Documentation

int number_sections ( CMMFile mfile)

Internal: return the an estimate of the number of sections in the map file based upon the length. Update mfile->data.number as a side effect.

Parameters:
mfile(CMMFile *)
Returns:
number of sections according to length-data/section_size

References ccp4_file_length(), _CMMFile::data, and _CMMFile::stream.