skbio.diversity.alpha.heip_e

skbio.diversity.alpha.heip_e(counts)[source]

Calculate Heip’s evenness measure.

State: Experimental as of 0.4.0.

Heip’s evenness is defined as:

\[\frac{(e^H-1)}{(S-1)}\]

where \(H\) is the Shannon-Wiener entropy of counts (using logarithm base \(e\)) and \(S\) is the number of OTUs in the sample.

Parameters:

counts (1-D array_like, int) – Vector of counts.

Returns:

Heip’s evenness measure.

Return type:

double

See also

shannon, pielou_e

Notes

The implementation here is based on the description in [1].

References