Home | Trees | Indices | Help |
|
---|
|
Histogram in one variable
The bin index and the number of points in a bin can be obtained by indexing the histogram with the bin number. Application of len() yields the number of bins. A histogram thus behaves like a sequence of bin index - bin count pairs.
|
|||
__getitem__(self,
index) Returns an array of shape (2,) containing the bin value and the bin count |
|||
__getslice__(self, first, last) | |||
__init__(self, data, nbins, range=None) | |||
int
|
__len__(self) Returns the number of bins |
||
_addData(self, data) | |||
_setup(self, data, nbins, range) | |||
addData(self,
data) Add values to the originally supplied data sequence. |
|||
normalize(self,
norm=1.0) Scale all bin counts by the same factor |
|||
normalizeArea(self,
norm=1.0) Scale all bin counts by the same factor |
|
|
|
|
|
|
|
Add values to the originally supplied data sequence. Use this method to feed long data sequences in multiple parts to avoid memory shortages.
|
Scale all bin counts by the same factor
|
Scale all bin counts by the same factor
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Oct 6 14:45:46 2006 | http://epydoc.sourceforge.net |