I have a list X of positions along an axis and a list Y containing the values of a parameter at those positions.
I also have a tree S which contains some values along the same axis as X.
I want to determine a tree with the parameter values for each position in S through linear interpolation.
However I get an error stating S is an ‘int’ object whereas I would think it is a tree.
Do I overlook something or can anybody tell me what I am doing wrong?
All help is really appreciated, thanks in advance!