The details are suitably scaled and a finite difference is performed on the LoRes signal. This is used to compute the derivative of a signal using its wavelet coefficients.

8 scales are assumed to exist, e.g., Details has a width of 8.