Find Peaks Function Python Definition In Coding