modifinder.Compound.calculate_annotation_entropy

Compound.calculate_annotation_entropy(peaks: list | None = None)[source]

Calculate the entropy of the annotation

Parameters:

peaks (list) – a list of peaks to calculate the entropy for, if None, use all peaks

Returns:

float

Return type:

the entropy of the annotation