Package pygeodesy3 :: Package maths :: Module fstats :: Class _FstatsBase
[frames] | no frames]

Class _FstatsBase

        object --+        
                 |        
miscs.named._Named --+    
                     |    
          _FstatsNamed --+
                         |
                        _FstatsBase
Known Subclasses:

(INTERNAL) Base running stats class.

Instance Methods
 
fadd(self, xs, sample=False)
Must be overloaded.
 
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 miscs.named._Named: __imatmul__, __matmul__, __repr__, __rmatmul__, attrs, classof, dup, methodname, rename, toRepr, toStr

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties

Inherited from miscs.named._Named: classname, classnaming, iteration, name, named, named2, named3, named4, sizeof

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 (Scalars).
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 standard deviation (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 (Scalars).
  • sample - Return the sample instead of the entire population variance (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.