Python Peak Prominence Definition