API Reference
This reference is generated from the public namespace of each dit
subpackage, so it lists every function and class you can import from it. The
narrative pages elsewhere in the documentation explain what the measures mean
and show worked examples; this section is the place to look up exact
signatures.
Subpackages re-export the contents of their nested modules. For example,
dit.multivariate includes the common informations and secret key
agreement bounds, dit.pid includes every PID_* measure, and
dit.rate_distortion includes the Gray–Wyner tools.
Core
dit is a Python package for information theory on discrete random variables. |
|
A selection of generic distributions which could be useful. |
|
Symbolic (sympy-backed) distributions and helpers. |
|
Mathematical tools for dit. |
|
Module providing miscellaneous functionality. |
Measures
The basic forms of Shannon's information measures. |
|
Multivariate measures of information. |
|
Divergences, measuring the distance between distributions. |
|
Esoteric measures of information, typically fairly divorced from Shannon's measures. |
Decompositions and Profiles
Import all the PIDs. |
|
This module contains various information "profiles", decomposing the total information into the information contained at different scales. |
|
Visualizations of multivariate distributions. |
Channels, Coding, and Rate-Distortion
A catalog of canonical discrete memoryless channels. |
|
Channel comparison: orderings and deficiencies. |
|
Coding: building source and channel codes. |
|
Various implementations of rate-distortion theory. |
Estimation and Optimization
Module for basic inference tools. |
|
Various algorithms related to manipulating or measuring properties of distributions. |