encode_Bit_cost
Overview
encode_Bit_cost is a class in Aspose.Font FOSS for Python.
This class provides 3 methods for working with encode_Bit_cost objects in Python programs.
Available methods include: BitsEntropy, PopulationCost, __init__.
All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.
Methods
| Signature | Description |
|---|---|
__init__() | Calls init on this encode_Bit_cost instance. |
BitsEntropy(population, population_off, size) | Calculates the entropy in bits for a given population slice |
PopulationCost(histogram) | Returns a cost metric derived from a histogram of symbol frequencies |