scikit-bio is back in active development! Check out our announcement of revitalization.

skbio.diversity.alpha.brillouin_d#

skbio.diversity.alpha.brillouin_d(counts)[source]#

Calculate Brillouin’s diversity index.

Brillouin’s diversity index (\(H_B\)) is defined as

\[H_B = \frac{\ln N!-\sum^s_{i=1}{\ln n_i!}}{N}\]

where \(N\) is the total number of individuals in the sample, \(s\) is the number of taxa, and \(n_i\) is the number of individuals in the \(i^{\text{th}}\) taxon.

Parameters:
counts1-D array_like, int

Vector of counts.

Returns:
double

Brillouin’s diversity index.

Notes

Brillouin’s diversity index was originally described in [1].

References

[1]

Brillouin, L. (1956). Science and Information Theory. Academic Press. New York.