The translate function now handles numpy arrays.
Authored by: bugman 2009-10-27
Parent: [r9800]
Child: [r9802]