On Monday, September 10, 2012 3:39:11 PM UTC-4, Wanderer wrote: > I have an array generated by audiolab of left and right stereo channels. It > looks like [[1,1],[1,2],[2,3]]. I would like to combine the left and right > channels to get an array [2,3,5]. Is there a numpy command to do that? > > > > Thanks
I figured it out. numpy.sum(array, axis=1). -- http://mail.python.org/mailman/listinfo/python-list