title: Using scipy to perform discrete integration of the sample
body: <p>I am trying to port from labview to python. </p>
  
  <p>In labview there is a function "Integral x(t) VI" that takes a set of samples as input, performs a discrete integration of the samples and returns a list of values (the areas under the curve) according to Simpsons rule.</p>
  
  <p>I tried to find an equivalent function in scipy, e.g. scipy.integrate.simps, but those functions return the <em>summed integral</em> across the set of samples, as a float.</p>
  
  <p>How do I get the list of integrated values as opposed to the sum of the integrated values? </p>
  
  <p>Am I just looking at the problem the wrong way around?</p>