X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fnew%2Fjumpavg%2FBitCountingMetadata.py;h=d25d355cab5278c5a6003471fda7a59c489c2eac;hp=67d111985f479aefb8f7eec9cc5d57081cca8e8e;hb=a2a0ab1cdec3567dcad46c2000337707777aa0ca;hpb=5120b1082aa70f6e75511e9d95a2a7c303e25f9a diff --git a/resources/tools/presentation/new/jumpavg/BitCountingMetadata.py b/resources/tools/presentation/new/jumpavg/BitCountingMetadata.py index 67d111985f..d25d355cab 100644 --- a/resources/tools/presentation/new/jumpavg/BitCountingMetadata.py +++ b/resources/tools/presentation/new/jumpavg/BitCountingMetadata.py @@ -11,13 +11,20 @@ # See the License for the specific language governing permissions and # limitations under the License. +"""Module holding BitCountingMetadata class.""" + import math from AvgStdevMetadata import AvgStdevMetadata class BitCountingMetadata(AvgStdevMetadata): - """Class for metadata which includes information content.""" + """Class for metadata which includes information content of a group. + + The information content is based on an assumption + that the data consists of independent random values + from a normal distribution. + """ def __init__(self, max_value, size=0, avg=0.0, stdev=0.0, prev_avg=None): """Construct the metadata by computing from the values needed.