EqualIntervals anomalies
Posted: Wed Dec 10, 2003 10:39 am
I am using EqualIntervals (Cubic Spline interpolation) simply to
increase the number of data points so as to produce smoother curves.
For a long time I have noticed that very often the last data point
is not regenerated in the interpolation process. This can be easily
fixed by cutting and pasting though.
With the new rel.1.9 I've experienced further and more severe anomalies.
As an example, I have a set of data points with x from 9.700 to 12.700,
spaced dx=0.015, i.e. a total of 201 points. Now I use EqualIntervals
to decrease my spacing to, say 0.0015, which should leave me with
2001 points in the new data set. However, the new X-start is at
9.7005 and X-end is at 12.699, totaling 2000 points, one less than
expected, and without including the original end points.
If instead I use dx=0.005 to create 601 new points, X-start is 9.700
as expected, but I loose the last point at x=12.700, giving me
600 points, one less than expected. This behaviour has been normal
for some time.
Now, with dx=0.001 I would expect 3001 points. I get 3000, one less
as before, but now the interpolated data become junk with values
reaching approx. +- 10**88. It does not matter what the y-values
are in the original data set.
Any clues as to what goes wrong ??
increase the number of data points so as to produce smoother curves.
For a long time I have noticed that very often the last data point
is not regenerated in the interpolation process. This can be easily
fixed by cutting and pasting though.
With the new rel.1.9 I've experienced further and more severe anomalies.
As an example, I have a set of data points with x from 9.700 to 12.700,
spaced dx=0.015, i.e. a total of 201 points. Now I use EqualIntervals
to decrease my spacing to, say 0.0015, which should leave me with
2001 points in the new data set. However, the new X-start is at
9.7005 and X-end is at 12.699, totaling 2000 points, one less than
expected, and without including the original end points.
If instead I use dx=0.005 to create 601 new points, X-start is 9.700
as expected, but I loose the last point at x=12.700, giving me
600 points, one less than expected. This behaviour has been normal
for some time.
Now, with dx=0.001 I would expect 3001 points. I get 3000, one less
as before, but now the interpolated data become junk with values
reaching approx. +- 10**88. It does not matter what the y-values
are in the original data set.
Any clues as to what goes wrong ??