clipper::Map_stats Class Reference

Generic map statistics class. More...

#include <map_utils.h>

List of all members.

Public Member Functions

template<class M>
 Map_stats (const M &map)
 Constructor: from Xmap.
const ftypemean () const
 Mean of map.
const ftypestd_dev () const
 Std deviation of map.
const ftypemin () const
 Minimum of map.
const ftypemax () const
 Maximum of map.


Detailed Description

Generic map statistics class.

This class is used to calculate and store the mean and standard deviation of a generic map object of scalar types (e.g. Xmap, NXmap). If the map contains NaN values, those points are excluded for the calculation. In the case of an Xmap, the proper multiplicty corrections are applied to give statistics for a whole unit cell


Constructor & Destructor Documentation

template<class M>
clipper::Map_stats::Map_stats ( const M &  map  )  [inline]

Constructor: from Xmap.

For float and double maps map The map for which moments are to be calculated.


The documentation for this class was generated from the following file:

Generated on Mon Feb 18 18:09:28 2008 for Clipper by  doxygen 1.5.5