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