utilities# Utility functions and classes. imean(iterator: iter) → float[source]# Take the mean of an iterator. If taking the mean of an iterable that is not an iterator, you might be better off using numpy.mean. Parameters: iterator (iter) – Iterator to take the mean of. Returns: The mean of all elements in the iterator. Return type: float ivariance(iterator: iter) → float[source]# Return the variance of an iterator. Parameters: iterator (iter) – Iterator to take the variance of. Returns: The variance of all elements in the iterator. Return type: float