Wiggins Methods

At this point I decided that my R code should be tidied, with a clear modular structure, and sufficient comments added to allow the work to be understood at any later time.

This having been done, I decided to explore the two methods proposed by Wiggins in 1976.  As explained in the previous post, these were entirely new to me, having been published in the seismology literature.

First, a reminder of the methods.  The average slopes method in our notation gives s3 as 

s3  = 0.5 * (m2 + m3)

The average angle method is:

s3 = tan [ 0.5 * tan -1 (m2) + 0.5 * tan -1 (m3) ]

The first method is as simple as could be.  The slope at a data point is estimated as the average of the slopes of the adjacent chords - so for evenly spaced data this would just be the osculatory method.  For unequally spaced data, it gives equal weight to the chords either side of a data point and this can result in perfectly good curves.  

Here are plots for the osculatory method and the Wiggins average slope method - on the coal data set which has unequally spaced data.  Notice the osculatory method dips at x=10 compared with the Wiggins method - this is because the osculatory method has a steeper slope, due to the greater emphasis placed on the chord between x=5 and x=10 than that between x=10 and x=28.  So, in this particular case, the allowance for unequally spaced data has not really been effective!



To complete the picture, here is the corresponding plot for the Wiggins average angle method.  It is quite similar to the average slope plot - both approximately touch the x-axis, the average slope method just below, and the average angle just above, indeed very nearly tangential.



Generally, the Average Angle method works pretty well as a general purpose curve drawing algorithm.  Here is a comparison of the Average Angle method and Akima's method, on a dataset from the Matlab paper on the Makima method. (The Makima method is almost identical to Akima's method on this example.)

First, the Akima plot:



and now the corresponding Wiggins Average Angle plot:


Very little difference, and arguably the Wiggins method is slightly better.

So, in summary, the Wiggins Average Angle Method seems an excellent method and deserves to be more widely known.

Comments

Popular posts from this blog

Piecewise Linear Interpolation of Cubic Polynomial

Curve Drawing Over the Years