Emanuelle, perfect! thanks. > (assuming "import numpy as np", which is considered as a better practice > as "from numpy import *") actually I normally just "import numpy" but I guess np is nicer to type and read... cheers, Damien