histogram Class Template Reference

Histogram of an array of scalar values. More...

#include <histogram.h>

List of all members.

Public Member Functions

template<typename DataType>
 histogram (af::const_ref< DataType > const &data, std::size_t n_slots=1000)
 Computation of the histogram.
template<typename DataType>
 histogram (af::const_ref< DataType > const &data, DataType const &data_min, DataType const &data_max, std::size_t n_slots=1000, ValueType const &relative_tolerance=1.e-4)
 Histogram using user-defined data_min(), data_max().
template<typename DataType>
 histogram (histogram const &other, af::const_ref< DataType > const &data, ValueType const &relative_tolerance=1.e-4)
 Histogram using slots of other.
ValueType data_min () const
 Minimum slot cutoff.
ValueType data_max () const
 Maximum slot cutoff.
ValueType slot_width () const
 Slot width used in the determination of the histogram.
af::shared< CountType > slots () const
 Direct access to the array of counts.
std::size_t n_out_of_slot_range () const
 Number of unaccounted data values.
ValueType get_cutoff (CountType const &max_points, ValueType const &relative_tolerance=1.e-4) const
 Determination of the cutoff value given a maximum number of points.


Detailed Description

template<typename ValueType = double, typename CountType = long>
class scitbx::histogram< ValueType, CountType >

Histogram of an array of scalar values.
The documentation for this class was generated from the following file:

Generated on Tue Sep 1 17:12:35 2009 for cctbx by  doxygen 1.5.6