gpp4  1.3.1
Functions
cmap_stats.h File Reference

Declaration of the stats_update function. More...

Go to the source code of this file.

Functions

int stats_update (CMMFile_Stats *stats, void *section_begin, void *section_end)
 

Detailed Description

Declaration of the stats_update function.

Author
Charles Ballard.

Function Documentation

int stats_update ( CMMFile_Stats stats,
void *  section_begin,
void *  section_end 
)

Internal: use floats in range section_begin to section_end to update the map statistics.

Parameters
stats(CMMFile_Stats *)
section_begin(void *) start of section
section_end(void *) one past end-of-section
Returns
total of map elements so far

References MAX, _CMMFile_Stats::max, _CMMFile_Stats::mean, _CMMFile_Stats::min, MIN, _CMMFile_Stats::offset, _CMMFile_Stats::rms, and _CMMFile_Stats::total.

Referenced by ccp4_cmap_write_data(), ccp4_cmap_write_row(), and ccp4_cmap_write_section().