argmax

PlasmaCalcs.tools.iterables.argmax(iterable)

returns first occurence of maximum value in iterable.

converts iterable to tuple before beginning search.
[EFF] might not be efficient for large iterables, but it’s probably fine.