I am stuck with my Python Script. The case is, I have an array of floating numbers from 0 to 1 (NDVI values). I want to loop over my array with an interval/step of every 0.025. Every interval/step I have to calculate something a+(b*element in the loop).
vNdvi = one dimensional array of NDVI values coming from a MODIS image rNdvi = vNdvi[np.logical_and(vNdvi>=0.3, vNdvi<0.8)] rNdvi.sort()