mrcrowbar.statistics module¶
-
class
mrcrowbar.statistics.
Stats
(buffer)[source]¶ Bases:
object
Generate a Stats instance for a byte string and analyse the data.
-
ansi_format
(width=64, height=12)[source]¶ Return a human readable ANSI-terminal printout of the stats.
- width
Custom width for the graph (in characters).
- height
Custom height for the graph (in characters).
-
entropy
¶ Shanning entropy calculated for the source data.
-
histo
¶ Byte histogram for the source data.
-