isotopylog.EDistribution.drop

EDistribution.drop(index)

Method for dropping entries from the existing list of k values. Useful if an EDistribution instance contains repeat or spurrious entries that should be dropped.

Parameters:index (int or slice) – The index of the ed.kds list to be dropped. Must be either an integer or a slice.

Examples

Removing a given element from an existing EDistribution, ed:

#say, drop element zero
ed.drop(0)