Package pygeodesy :: Module fstats :: Class _FstatsBase |
[frames] | no frames]

# Class _FstatsBase

      object --+
               |
    named._Named --+
                   |
        _FstatsNamed --+
                       |
                      _FstatsBase

Known Subclasses:
  - Fcook
  - , Fwelford

(INTERNAL) Base running stats class.

Instance Methods
fadd(self, xs, sample=False) (INTERNAL) Must be overloaded, see function `notOverloaded`. |
fadd_(self, *xs, **sample) Accumulate and return the current count. |
fmean(self, xs=None) Accumulate and return the current mean. |
fmean_(self, *xs) Accumulate and return the current mean. |
fstdev(self, xs=None, sample=False) Accumulate and return the current standard deviation. |
fstdev_(self, *xs, **sample) Accumulate and return the current standard deviation. |
fvariance(self, xs=None, sample=False) Accumulate and return the current variance. |
fvariance_(self, *xs, **sample) Accumulate and return the current variance. |
Inherited from `_FstatsNamed`: `__add__`, `__float__`, `__int__`, `__len__`, `__neg__`, `__radd__`, `__str__`, `copy`, `fcopy` Inherited from `named._Named`: `_DOT_`, `__imatmul__`, `__matmul__`, `__repr__`, `__rmatmul__`, `attrs`, `classof`, `dup`, `rename`, `toRepr`, `toStr`, `toStr2` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

Properties
Inherited from `named._Named`: `classname`, `classnaming`, `name`, `named`, `named2`, `named3`, `named4` Inherited from `object`: `__class__`

Method Details

### fadd_ (self, *xs, **sample) |
Accumulate and return the current count. See Also: Method `fadd`.

### fmean (self, xs=None) |
Accumulate and return the current mean. Arguments: `xs` - Iterable with additional values (`Scalar`s). Returns: Current, running mean (`float`). See Also: Method `fadd`.

### fmean_ (self, *xs) |
Accumulate and return the current mean. See Also: Method `fmean`.

### fstdev (self, xs=None, sample=False) |
Accumulate and return the current standard deviation. Arguments: `xs` - Iterable with additional values (`Scalar`). `sample` - Return the sample instead of the entire population value (`bool`). Returns: Current, running (sample) standard deviation (`float`). See Also: Method `fadd`.

### fstdev_ (self, *xs, **sample) |
Accumulate and return the current standard deviation. See Also: Method `fstdev`.

### fvariance (self, xs=None, sample=False) |
Accumulate and return the current variance. Arguments: `xs` - Iterable with additional values (`Scalar`s). `sample` - Return the sample instead of the entire population value (`bool`). Returns: Current, running (sample) variance (`float`). See Also: Method `fadd`.

### fvariance_ (self, *xs, **sample) |
Accumulate and return the current variance. See Also: Method `fvariance`.