Is there a function that could be used for calculation of the divergence of the vectorial field? (in matlab) I would expect it exists in numpy/scipy but I can not find it us
http://www.scipy.org/Topical_Software#head-85e01502b533f2477ab8c643b38ee92706a377bb
Even if it doesn't have the divergence hand-packaged for you, divergence is pretty simple and the derivative tools they give you in scipy (the ones linked above) give you about 90% of the code prepackaged in a nice, efficient way.