[SciPy-User] Partial Derivative of a 3 dimensional NumPy array

Andreas Hasenkopf webmaster at hasenkopf2000.net
Thu Jun 16 08:01:45 EDT 2011


Hello,
as part of a little simulation I try to calculate partial derivatives of
a 3D array (dering along of one of the three axes).
My question is: Is there a simple way to do it? Or do I need to iterate
over each 1D subslice of the array and call e.g. scipy.fftpack.diff() on
each of those subslices?

Thanks and CU
Andi

-- 
Andreas Hasenkopf
Phone: +49 151 11728439
Homepage: http://www.hasenkopf2000.net
GPG Pub Key: http://goo.gl/4mOsM

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20110616/2cc66f40/attachment.sig>


More information about the SciPy-User mailing list