skbio.diversity.alpha.enspie

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

Calculate ENS_pie alpha diversity measure.

State: Experimental as of 0.4.0.

ENS_pie is equivalent to 1 / dominance:

\[ENS_{pie} = \frac{1}{\sum_{i=1}^s{p_i^2}}\]

where \(s\) is the number of OTUs and \(p_i\) is the proportion of the community represented by OTU \(i\).

Parameters:

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

Returns:

ENS_pie alpha diversity measure.

Return type:

double

See also

dominance

Notes

ENS_pie is defined in [1].

References