Chemistry 498C Computer
Interfacing
(b) In general, the optimum number of passes of a rectangular smooth is one more than the derivative order, i.e. 2 for the first derivative, 3 for the second, etc. (Recall that a triangular smooth is equivalent to two passes of a rectangular smooth.)
(c). The derivative and smooth operations can be done in any order; it makes no difference whether you smooth first and then differentiate or differentiate first and then smooth, or mix it up. The signal itself depends only on the total number of derivative and smooth steps and not on the route taken. The order of operations has an effect only on the edge effects, artifacts generated by the differentiation and smoothing algorithms at the very beginning and end of the signal record. For example, select the copy of the original peak signal in Window 4, smooth it (apple-F) with two passes of a 21-point rectangular smooth, and then differentiate it twice (apple-D, apple-D). Compare the result to the signal in Window 2, which was smoothed after differentiation. The central portion of the signal is identical, as can be proved by superimposing the two signals.