i am using this:
http://docs.scipy.org/doc/numpy/reference/generated/numpy.histogram.html
i have an list a that i want to use like this:
numpy.histogram(a,bins=[0.1,0.2,0.3,0.4...6], range=[0:6])
- how do i include a set of bins 0.1 through 6 in 0.1 intervals?
- how do i specify a range of 0 through 6?
Perhaps you are looking for
np.linspace(0,6,num=61)ornp.arange(0,6.1,0.1):