python: how to get local maxima values from 1d-array or list,y[argrelmax(y)[0]]