Is there a single object that can take an array and resize it while interpolating the data within it?
For example, say I have a 64 element array representing a spectrum, but I need a 512 element array so that it will fit my block size.
How can I take the 64 element array and "expand" it to 512 elements (i.e. the 64th element becomes the 512th element and all points in between are interpolated)?
I thought about using tabread4~ with an until loop, but this seems inefficient and highly cluttered, but I'm not entirely sure how to get the size of the array. Please tell me there's an easier way to do this that I've somehow missed!