| Resample data. The data (double) is given as a x-vector xVec and y-Vector yVec. The new sampling can be defined by an interval dx or by an arbitrary x-vector xVecGoal. Two methods are implemented one for point data and one for range data. For point data the new values are interpolated and extrapolated. For range data the new range-values are averaged over the old ranges. The size of a range (=thickness of a layer) is defined by the difference: xVec[i+1]-xVec[i] and for the last range: xMax-xVec[i] Assumptions: More...
|