interpolate
interpolate#
- relsad.utils.interpolate(array: numpy.ndarray, time_indices: numpy.ndarray)[source]#
Returns the array interpolated to match the time indices
- arraynp.ndarray
Array to interpolate
- time_indicesnp.ndarray
Array of required time indices in need of array values
- Returns
interpolated_array – The array interpolated to match the time indices
- Return type
np.ndarray