Python Peak Prominence Definition Simple Predicate