pylab_ml.common.common.arange

arange(myitems)[source]

Create an array from a string in a format similar to Matlab,

e.q. “18:-1:6:” “18:-1:6, 5.9:-0.1:4.1” “18:-1:6, 5.9:-0.1:4.1, 7, 9”

also possible: “18:6:-1”

Parameters:
  • myitems (A string containing the items to create the array from, in a format similar to Matlab.)

  • "18 (eg.)

Returns:

result

Return type:

An array created from the input string.