barth.netterfield at utoronto.ca
Mon May 12 20:49:32 UTC 2014
Hmm.... Unfortunately, it turns out that Kst does not really support your case
The missing values are interpreted as NaNs (which seems pretty reasonable).
But the interpolation plugin does not support NaNs (and crashes).
The crashes in the existing plugins are bugs which should be fixed. I think
the fix could be done so that it would automatically be able to have them
interpolate over NaNs.
So: Could you submit this as a bug so we don't forget about it?
On May 10, 2014 5:36:57 PM Steve Maher wrote:
> Hi all,
> I can't seem to perform any interpolations. My test crashes on 2.0.7-1 on
> Ubuntu and 2.0.8rc2 on Windows 8.1.
> Attached (and below) is my (ASCII) test case. There are 13 values in
> vector 'a' (and INDEX, of course). There are seven values in vectors 'b'
> and 'bi'. Vector 'bi' contains index numbers for vector b. Looking at the
> data you can see the intention is that vector b has values for every other
> 'a' value and bi is the index of those values relative to 'a'.
> My goal is to interpolate 'b' so that it has the same number of samples as
> 'a', then use 'b' as an X axis of a curve with 'a' as the Y axis.
> So I try interpolating with Input Vector X = bi, Input Vector Y = b, and
> Input Vector X' = INDEX. This crashes no matter which interpolation plugin
> I use.
> Seeing NaN's when looking at the 'b' and 'bi' vectors may be an issue.
> However, I'm assuming since there are interpolation plugins there must be
> SOME way to have vectors of varying lengths.
> I must be missing something.
> Thanks for any tips,
> a b bi
> 112.5 428 0
> 262.5 345 2
> 412.5 119 4
> 567.5 162 6
> 712.5 211 8
> 862.5 292 10
> 100.5 623 12
University of Toronto
More information about the Kst