Differentiate all traces with respect to time.
This operation is performed in place on the actual data arrays. The raw data is not accessible anymore afterwards. To keep your original data, use
copy()to create a copy of your stream object. This also makes an entry with information on the applied processing in
stats.processingof every trace.
The gradient is computed using central differences in the interior and first differences at the boundaries. The returned gradient hence has the same shape as the input array. (uses